Files
Arch-R/packages/python/web/TwistedCore/build
Stephan Raue 488035c30a new package: add package 'TwistedCore'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-07-25 14:20:31 +02:00

16 lines
372 B
Bash
Executable File

#!/bin/sh
. config/options $1
. 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