wok annotate python-numpy/receipt @ rev 3411
Ren: numpy -> python-numpy & update receipts of packages that depends on it
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Fri Jun 12 21:58:05 2009 +0000 (2009-06-12) |
parents | |
children | 0550fdbb4b53 |
rev | line source |
---|---|
claudinei@3411 | 1 # SliTaz package receipt. |
claudinei@3411 | 2 |
claudinei@3411 | 3 PACKAGE="python-numpy" |
claudinei@3411 | 4 SOURCE="numpy" |
claudinei@3411 | 5 VERSION="1.1.1" |
claudinei@3411 | 6 CATEGORY="development" |
claudinei@3411 | 7 SHORT_DESC="scientific computing library for the Python." |
claudinei@3411 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
claudinei@3411 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3411 | 10 WEB_SITE="http://numpy.scipy.org/" |
claudinei@3411 | 11 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
claudinei@3411 | 12 DEPENDS="python" |
claudinei@3411 | 13 BUILD_DEPENDS="python python-dev" |
claudinei@3411 | 14 |
claudinei@3411 | 15 # Rules to configure and make the package. |
claudinei@3411 | 16 compile_rules() |
claudinei@3411 | 17 { |
claudinei@3411 | 18 cd $src |
claudinei@3411 | 19 python setup.py build && |
claudinei@3411 | 20 python setup.py install --root=$PWD/_pkg |
claudinei@3411 | 21 } |
claudinei@3411 | 22 |
claudinei@3411 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3411 | 24 genpkg_rules() |
claudinei@3411 | 25 { |
claudinei@3411 | 26 cp -a $_pkg/usr $fs |
claudinei@3411 | 27 } |
claudinei@3411 | 28 |
claudinei@3411 | 29 # Remove old package. |
claudinei@3411 | 30 post_install() |
claudinei@3411 | 31 { |
claudinei@3411 | 32 rm -rf $1/var/lib/tazpkg/installed/numpy |
claudinei@3411 | 33 } |