wok-6.x annotate python-cython/receipt @ rev 15894
libnl: remove devel files (save space on ISO)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 12 22:53:55 2014 +0100 (2014-02-12) |
parents | 0303b344c702 |
children | 16df76e1fc6a |
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 cd $src |
pankso@9338 | 21 python setup.py build && |
pascal@13595 | 22 python setup.py install --root=$DESTDIR |
pankso@9338 | 23 } |
pankso@9338 | 24 |
pankso@9338 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9338 | 26 genpkg_rules() |
pankso@9338 | 27 { |
pankso@9338 | 28 mkdir -p $fs |
pascal@13595 | 29 cp -a $install/usr $fs |
pankso@9338 | 30 } |