TwistedCore: fix install

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-08-25 22:38:26 +02:00
parent 6ef8f4303d
commit 4c8cb5a861
2 changed files with 7 additions and 1 deletions

View File

@ -10,5 +10,8 @@ $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 "{}" ";"

View File

@ -6,4 +6,7 @@ BUILD_DIR=`ls -d $PKG_BUILD`
. config/options.python
cp -PR $BUILD_DIR/.install/* $INSTALL
cp -PR $BUILD_DIR/.install/* $INSTALL
mkdir -p $INSTALL/usr/bin
cp $BUILD_DIR/bin/twistd $INSTALL/usr/bin