Files
Arch-R/packages/python/web/TwistedCore/build
Stephan Raue 4c8cb5a861 TwistedCore: fix install
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-08-25 22:38:26 +02:00

18 lines
374 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
rm -rf .install/usr/bin
find .install -name "*.py" -exec rm -rf "{}" ";"
find .install -name "*.pyo" -exec rm -rf "{}" ";"