diff --git a/packages/python/system/yenc/build b/packages/python/system/yenc/build new file mode 100755 index 0000000000..518abb0106 --- /dev/null +++ b/packages/python/system/yenc/build @@ -0,0 +1,19 @@ +#!/bin/sh + +. config/options + +$SCRIPTS/build toolchain +$SCRIPTS/build Python + +. config/options.python + +cd $PKG_BUILD + +$PYTHON setup.py build + +$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 "{}" ";" + +rm -rf .install/usr/bin diff --git a/packages/python/system/yenc/install b/packages/python/system/yenc/install new file mode 100755 index 0000000000..2c60f5dd1d --- /dev/null +++ b/packages/python/system/yenc/install @@ -0,0 +1,7 @@ +#!/bin/sh + +. config/options + +$SCRIPTS/install Python + +cp -PR $PKG_BUILD/.install/* $INSTALL diff --git a/packages/python/system/yenc/url b/packages/python/system/yenc/url new file mode 100644 index 0000000000..40e4af7695 --- /dev/null +++ b/packages/python/system/yenc/url @@ -0,0 +1 @@ +http://www.golug.it/pub/yenc/yenc-0.3.tar.gz