wok-stable annotate numpy/receipt @ rev 2152
Punjab add config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 05 17:08:03 2009 +0000 (2009-02-05) |
parents | e50bf461524d |
children |
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@1511 | 12 BUILD_DEPENDS="python python-dev" |
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@1511 | 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 |