wok annotate python-cython/receipt @ rev 19301
astromenace: update bdeps; genpkg_rules is launch without any bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 09 18:39:35 2016 +0200 (2016-07-09) |
parents | 2a5cc8208d36 |
children | 6135577f4d08 |
rev | line source |
---|---|
pankso@9338 | 1 # SliTaz package receipt. |
pankso@9338 | 2 |
pankso@9338 | 3 PACKAGE="python-cython" |
pascal@13595 | 4 VERSION="0.17.1" |
pankso@9338 | 5 CATEGORY="development" |
pankso@9338 | 6 SHORT_DESC="Language to write C extensions for Python." |
pankso@9338 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15379 | 8 LICENSE="Apache" |
pankso@9338 | 9 SOURCE="Cython" |
pankso@9338 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@9338 | 11 WEB_SITE="http://cython.org/" |
pankso@9338 | 12 WGET_URL="http://cython.org/release/$TARBALL" |
pascal@15379 | 13 |
pankso@9338 | 14 DEPENDS="python" |
pankso@9338 | 15 BUILD_DEPENDS="$DEPENDS python-dev" |
pankso@9338 | 16 |
pankso@9338 | 17 # Rules to configure and make the package. |
pankso@9338 | 18 compile_rules() |
pankso@9338 | 19 { |
pankso@9338 | 20 python setup.py build && |
pascal@13595 | 21 python setup.py install --root=$DESTDIR |
pankso@9338 | 22 } |
pankso@9338 | 23 |
pankso@9338 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9338 | 25 genpkg_rules() |
pankso@9338 | 26 { |
pankso@9338 | 27 mkdir -p $fs |
pascal@13595 | 28 cp -a $install/usr $fs |
pankso@9338 | 29 } |