Files
Arch-R/packages/python/devel/TwistedCore/build
2009-05-16 23:35:27 +02:00

20 lines
418 B
Bash
Executable File

#!/bin/sh
. config/options
$SCRIPTS/build toolchain
$SCRIPTS/build Python
. config/options.python
cd $PKG_BUILD
$PYTHON setup.py build
$PYTHON setup.py install -O1 --skip-build --root $SYSROOT_PREFIX --prefix /usr
$PYTHON setup.py install -O1 --skip-build --root ./.install --prefix /usr
find .install -name "*.py" -exec rm -rf "{}" ";"
find .install -name "*.pyo" -exec rm -rf "{}" ";"
rm -rf .install/usr/bin