wok-6.x annotate python-pyrex/receipt @ rev 9040
Up: tazwok 4.2.4
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 04 02:43:18 2011 +0100 (2011-03-04) |
parents | b6588be2cb4e |
children | fd4f1e692109 |
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 |
slaxemulator@8450 | 20 python setup.py install --root="$PWD/_pkg" --prefix=/usr |
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 |
pankso@3975 | 27 } |