wok-6.x diff python-zfec/receipt @ rev 18222
Add python-zfec python-foolscap & python-pyasn1
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 18 13:39:42 2015 +0200 (2015-07-18) |
parents | |
children | 46fc8daa3b41 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-zfec/receipt Sat Jul 18 13:39:42 2015 +0200 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-zfec" 1.7 +VERSION="1.4.24" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="A fast erasure codec." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="https://pypi.python.org/pypi/zfec" 1.12 +SOURCE="zfec" 1.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.14 +WGET_URL="https://pypi.python.org/packages/source/z/zfec/$TARBALL" 1.15 + 1.16 +DEPENDS="python" 1.17 +BUILD_DEPENDS="wget python-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + python setup.py install --prefix=/usr --root=$DESTDIR 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr 1.29 + cp -a $install/usr/bin $fs/usr/ 1.30 + cp -a $install/usr/lib $fs/usr/ 1.31 +}