Magellan Linux

Diff of /trunk/include/python.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/core/include/python.sminc revision 2 by niro, Fri Oct 10 13:29:42 2008 UTC branches/magellan-next/include/python.sminc revision 8121 by niro, Tue Jul 12 17:16:31 2011 UTC
# Line 27  python_src_prepare() Line 27  python_src_prepare()
27  python_src_compile()  python_src_compile()
28  {  {
29   cd ${SRCDIR}   cd ${SRCDIR}
30   python setup.py build "$@" || die  
31     if [[ -e setup.py ]]
32     then
33     python setup.py build "$@" || die
34     elif [[ -e waf ]]
35     then
36     python waf configure --prefix=/usr "$@" || die
37     python waf build "$@" || die
38     elif [[ -e configure ]]
39     then
40     mconfigure "$@" || die
41     mmake || die
42     else
43     mmake || die
44     fi
45  }  }
46    
47  python_src_install()  python_src_install()
48  {  {
49   cd ${SRCDIR}   cd ${SRCDIR}
50   python setup.py install --no-compile --root ${BINDIR} "$@" || die  
51     if [[ -e setup.py ]]
52     then
53     python setup.py install --no-compile --root ${BINDIR} "$@" || die
54     elif [[ -e waf ]]
55     then
56     python waf install --destdir="${BINDIR}" "$@" || die
57     else
58     mmake DESTDIR=${BINDIR} install || die
59     fi
60    
61   local i   local i
62   for i in ABOUT-NLS AUTHORS BUGS CHANGES ChangeLog COPYING \   for i in ABOUT-NLS AUTHORS BUGS CHANGES ChangeLog COPYING \

Legend:
Removed from v.2  
changed lines
  Added in v.8121