72 |
${MAGE_PYTHON_EXEC} waf build $@ || die |
${MAGE_PYTHON_EXEC} waf build $@ || die |
73 |
elif [[ -e configure ]] |
elif [[ -e configure ]] |
74 |
then |
then |
75 |
mconfigure $@ || die |
if [[ ${MULTILIB_BUILD} = true ]] && [[ ! -z $(typeset -f oldmconfigure) ]] && [[ ! -z $(typeset -f oldmmake) ]] |
76 |
mmake || die |
then |
77 |
|
oldmconfigure $@ || die |
78 |
|
oldmmake || die |
79 |
|
else |
80 |
|
mconfigure $@ || die |
81 |
|
mmake || die |
82 |
|
fi |
83 |
elif [[ -e install.py ]] |
elif [[ -e install.py ]] |
84 |
then |
then |
85 |
echo "install.py found - nothing to compile here." |
echo "install.py found - nothing to compile here." |
100 |
then |
then |
101 |
${MAGE_PYTHON_EXEC} install.py --prefix=/usr --files-only --destdir=${BINDIR} $@ || die |
${MAGE_PYTHON_EXEC} install.py --prefix=/usr --files-only --destdir=${BINDIR} $@ || die |
102 |
else |
else |
103 |
mmake DESTDIR=${BINDIR} install || die |
if [[ ${MULTILIB_BUILD} = true ]] && [[ ! -z $(typeset -f oldmconfigure) ]] && [[ ! -z $(typeset -f oldmmake) ]] |
104 |
|
then |
105 |
|
oldmmake DESTDIR=${BINDIR} install || die |
106 |
|
else |
107 |
|
mmake DESTDIR=${BINDIR} install || die |
108 |
|
fi |
109 |
fi |
fi |
110 |
} |
} |
111 |
|
|