wok annotate python-cython/receipt @ rev 14914
Up: firefox-langpack-de (17.0.7esr)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Aug 06 01:13:47 2013 +0000 (2013-08-06) |
parents | 528eda6325e5 |
children | 2a5cc8208d36 |
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" |
pankso@9338 | 8 SOURCE="Cython" |
pankso@9338 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@9338 | 10 WEB_SITE="http://cython.org/" |
pankso@9338 | 11 WGET_URL="http://cython.org/release/$TARBALL" |
pankso@9338 | 12 DEPENDS="python" |
pankso@9338 | 13 BUILD_DEPENDS="$DEPENDS python-dev" |
pankso@9338 | 14 |
pankso@9338 | 15 # Rules to configure and make the package. |
pankso@9338 | 16 compile_rules() |
pankso@9338 | 17 { |
pankso@9338 | 18 cd $src |
pankso@9338 | 19 python setup.py build && |
pascal@13595 | 20 python setup.py install --root=$DESTDIR |
pankso@9338 | 21 } |
pankso@9338 | 22 |
pankso@9338 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9338 | 24 genpkg_rules() |
pankso@9338 | 25 { |
pankso@9338 | 26 mkdir -p $fs |
pascal@13595 | 27 cp -a $install/usr $fs |
pankso@9338 | 28 } |