wok annotate python-pyrex/receipt @ rev 8195
imported patch toolchain/libtool.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
parents | 67b596b71bfd |
children | c57c251fb82b |
rev | line source |
---|---|
pankso@3975 | 1 # SliTaz package receipt. |
pankso@3975 | 2 |
pankso@3975 | 3 PACKAGE="python-pyrex" |
slaxemulator@6904 | 4 VERSION="0.9.9" |
pankso@3975 | 5 CATEGORY="development" |
pankso@3975 | 6 SHORT_DESC="Language for Writing Python Extension Modules." |
pankso@3975 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@3975 | 8 SOURCE="Pyrex" |
pankso@3975 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@3975 | 10 WEB_SITE="http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/" |
pankso@3975 | 11 WGET_URL="http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/$TARBALL" |
pankso@3975 | 12 DEPENDS="python" |
pankso@3975 | 13 BUILD_DEPENDS="python python-dev" |
pankso@3975 | 14 TAGS="python" |
pankso@3975 | 15 |
pankso@3975 | 16 # Rules to configure and make the package. |
pankso@3975 | 17 compile_rules() |
pankso@3975 | 18 { |
pankso@3975 | 19 cd $src |
pankso@3975 | 20 python setup.py install --root=$PWD/_pkg |
pankso@3975 | 21 } |
pankso@3975 | 22 |
pankso@3975 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3975 | 24 genpkg_rules() |
pankso@3975 | 25 { |
pankso@3975 | 26 cp -a $_pkg/usr $fs |
slaxemulator@6904 | 27 find $fs -name "*.pyc" -delete |
pankso@3975 | 28 } |