wok-4.x annotate numpy/receipt @ rev 1390
Up: htpop 0.8
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Sep 17 23:51:27 2008 +0200 (2008-09-17) |
parents | |
children | 3d99ecce2d4b |
rev | line source |
---|---|
pascal@1258 | 1 # SliTaz package receipt. |
pascal@1258 | 2 |
pascal@1258 | 3 PACKAGE="numpy" |
pascal@1258 | 4 VERSION="1.1.1" |
pascal@1258 | 5 CATEGORY="development" |
pascal@1258 | 6 SHORT_DESC="scientific computing library for the Python." |
pascal@1258 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1258 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1258 | 9 WEB_SITE="http://numpy.scipy.org/" |
pascal@1258 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@1258 | 11 DEPENDS="python" |
pascal@1258 | 12 BUILD_DEPENDS="python" |
pascal@1258 | 13 |
pascal@1258 | 14 # Rules to configure and make the package. |
pascal@1258 | 15 compile_rules() |
pascal@1258 | 16 { |
pascal@1258 | 17 cd $src |
pascal@1258 | 18 python setup.py build |
pascal@1258 | 19 python setup.py install --root=$PWD/_pkg |
pascal@1258 | 20 } |
pascal@1258 | 21 |
pascal@1258 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1258 | 23 genpkg_rules() |
pascal@1258 | 24 { |
pascal@1258 | 25 cp -a $_pkg/usr $fs |
pascal@1258 | 26 } |
pascal@1258 | 27 |