mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
wokkel: add distuilscross and distribute support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
81a982b07b
commit
44d3bbe17c
@ -1,14 +1,14 @@
|
||||
#!/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 install -O1 --skip-build --root $SYSROOT_PREFIX --prefix /usr
|
||||
$PYTHON setup.py install -O1 --skip-build --root ./.install --prefix /usr
|
||||
python setup.py build --cross-compile
|
||||
python setup.py install -O1 --skip-build --prefix /usr --root .install
|
||||
|
||||
find .install -name "*.py" -exec rm -rf "{}" ";"
|
||||
find .install -name "*.pyo" -exec rm -rf "{}" ";"
|
||||
|
@ -5,8 +5,8 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="free"
|
||||
PKG_SITE="http://wokkel.ik.nu/"
|
||||
PKG_URL="http://wokkel.ik.nu/releases/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS="Python setuptools TwistedWords"
|
||||
PKG_BUILD_DEPENDS="toolchain Python setuptools TwistedWords"
|
||||
PKG_DEPENDS="Python distribute TwistedWords"
|
||||
PKG_BUILD_DEPENDS="toolchain Python distribute distutilscross TwistedWords"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="python/web"
|
||||
PKG_SHORTDESC="wokkel: Wokkel is a Python module for experimenting with future enhancements to TwistedWords"
|
||||
|
Loading…
x
Reference in New Issue
Block a user