mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
TwistedWords: add distutilscross and distribute support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
e58fe1cb1d
commit
b16dd34c74
@ -1,14 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
. config/options.python
|
||||
|
||||
export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr"
|
||||
export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib"
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
$PYTHON setup.py build
|
||||
python setup.py build --cross-compile
|
||||
python setup.py install -O1 --skip-build --prefix /usr --root .install
|
||||
|
||||
$PYTHON setup.py install -O1 --skip-build --root $SYSROOT_PREFIX --prefix /usr
|
||||
$PYTHON setup.py install -O1 --skip-build --root ./.install --prefix /usr
|
||||
# install to toolchain because its needed for other twisted modules
|
||||
python setup.py install -O1 --skip-build --prefix $ROOT/$TOOLCHAIN
|
||||
|
||||
find .install -name "*.py" -exec rm -rf "{}" ";"
|
||||
find .install -name "*.pyo" -exec rm -rf "{}" ";"
|
||||
|
@ -5,8 +5,8 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="http://twistedmatrix.com/"
|
||||
PKG_URL="http://tmrc.mit.edu/mirror/twisted/Words/10.1/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="Python TwistedCore"
|
||||
PKG_BUILD_DEPENDS="toolchain Python TwistedCore"
|
||||
PKG_DEPENDS="Python distribute TwistedCore"
|
||||
PKG_BUILD_DEPENDS="toolchain Python distribute distutilscross TwistedCore"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python/web"
|
||||
PKG_SHORTDESC="TwistedWords: An event-based networking framework for Internet applications"
|
||||
|
Loading…
x
Reference in New Issue
Block a user