wok-6.x annotate python-cython/receipt @ rev 12437
ayttm: Fixed typo.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Apr 21 11:47:41 2012 +0000 (2012-04-21) |
parents | |
children | 0303b344c702 |
rev | line source |
---|---|
pankso@9338 | 1 # SliTaz package receipt. |
pankso@9338 | 2 |
pankso@9338 | 3 PACKAGE="python-cython" |
pankso@9338 | 4 VERSION="0.14.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 && |
pankso@9338 | 20 python setup.py install --root=$WOK/$PACKAGE/install |
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 |
pankso@9338 | 27 cp -a $_pkg/usr $fs |
pankso@9338 | 28 } |