wok-next view python-zfec/receipt @ rev 20104
distcc: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 29 12:45:36 2017 +0100 (2017-10-29) |
parents | 4eebed152486 |
children | 92698cd69f34 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-zfec"
4 VERSION="1.4.24"
5 CATEGORY="development"
6 SHORT_DESC="A fast erasure codec."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://pypi.python.org/pypi/zfec"
10 SOURCE="zfec"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="https://pypi.python.org/packages/source/z/zfec/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="wget python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --prefix=/usr --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr/bin $fs/usr/
28 cp -a $install/usr/lib $fs/usr/
29 }