wok-6.x annotate python-zfec/receipt @ rev 23867
syslinux/bootiso.S: merge isolinux boot sector
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 20 14:15:09 2020 +0000 (2020-06-20) |
parents | 46fc8daa3b41 |
children | 104a2a2e5484 |
rev | line source |
---|---|
pascal@18222 | 1 # SliTaz package receipt. |
pascal@18222 | 2 |
pascal@18222 | 3 PACKAGE="python-zfec" |
Hans-G?nter@23588 | 4 VERSION="1.5.3" |
pascal@18222 | 5 CATEGORY="development" |
pascal@18222 | 6 SHORT_DESC="A fast erasure codec." |
pascal@18222 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18334 | 8 LICENSE="GPL2" |
pascal@18222 | 9 WEB_SITE="https://pypi.python.org/pypi/zfec" |
Hans-G?nter@23588 | 10 |
pascal@18222 | 11 SOURCE="zfec" |
pascal@18222 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23588 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@18222 | 14 |
pascal@18222 | 15 DEPENDS="python" |
Hans-G?nter@23588 | 16 BUILD_DEPENDS="python python-dev python-setuptools" |
pascal@18222 | 17 |
pascal@18222 | 18 # Rules to configure and make the package. |
pascal@18222 | 19 compile_rules() |
pascal@18222 | 20 { |
pascal@18222 | 21 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@18222 | 22 } |
pascal@18222 | 23 |
pascal@18222 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18222 | 25 genpkg_rules() |
pascal@18222 | 26 { |
pascal@18222 | 27 mkdir -p $fs/usr |
Hans-G?nter@23588 | 28 |
Hans-G?nter@23588 | 29 cp -a $install/usr/bin $fs/usr/ |
Hans-G?nter@23588 | 30 cp -a $install/usr/lib $fs/usr/ |
pascal@18222 | 31 } |