wok view python-numpy/receipt @ rev 15800
Up:kmod (16)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Jan 19 21:53:30 2014 +0100 (2014-01-19) |
parents | 23674c6c3c84 |
children | 16df76e1fc6a |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-numpy"
4 SOURCE="numpy"
5 VERSION="1.5.1"
6 CATEGORY="development"
7 SHORT_DESC="scientific computing library for the Python."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://numpy.scipy.org/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 {
22 python setup.py build &&
23 python setup.py install --root=$DESTDIR
24 } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)'
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs
31 }
33 # Remove old package.
34 post_install()
35 {
36 rm -rf $1/var/lib/tazpkg/installed/numpy
37 }