summaryrefslogtreecommitdiffstats
path: root/extra/python-numpy/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2010-12-28 17:48:36 +0000
committersibel <lesibel@free.fr>2010-12-28 17:48:36 +0000
commit625401d6e342f4819fe84ee3f208e590e93a35c0 (patch)
treec30b14baf132cbd73df5bb542efb7c9de3893ce0 /extra/python-numpy/Pkgfile
parentadd871cd18926a98a6828e4a10ba8a7ba04f9476 (diff)
downloadnutyx-pakxe-625401d6e342f4819fe84ee3f208e590e93a35c0.tar.gz
nutyx-pakxe-625401d6e342f4819fe84ee3f208e590e93a35c0.tar.bz2
nutyx-pakxe-625401d6e342f4819fe84ee3f208e590e93a35c0.tar.xz
nutyx-pakxe-625401d6e342f4819fe84ee3f208e590e93a35c0.zip
python-numpy#1.5.1-1, maj port
Diffstat (limited to 'extra/python-numpy/Pkgfile')
-rw-r--r--extra/python-numpy/Pkgfile14
1 files changed, 8 insertions, 6 deletions
diff --git a/extra/python-numpy/Pkgfile b/extra/python-numpy/Pkgfile
index 4037912ea..9bea35c13 100644
--- a/extra/python-numpy/Pkgfile
+++ b/extra/python-numpy/Pkgfile
@@ -5,16 +5,18 @@
# Depends on: blas, lapack
name=python-numpy
-version=1.3.0
+version=1.5.1
release=1
source=(http://downloads.sourceforge.net/numpy/numpy-$version.tar.gz)
build() {
- cd numpy-$version
- export Atlas=None
- python setup.py config_fc --fcompiler=gnu95 build
- python setup.py config_fc --fcompiler=gnu95 install --prefix=/usr --root=$PKG
+ cd numpy-$version
+ export Atlas=None
+ export LDFLAGS="$LDFLAGS -shared"
- install -D -m644 LICENSE.txt $PKG/usr/share/licenses/$name/LICENSE
+ python setup.py config_fc --fcompiler=gnu95 build
+ python setup.py config_fc --fcompiler=gnu95 install --prefix=/usr --root=$PKG
+
+ install -D -m644 LICENSE.txt $PKG/usr/share/licenses/$name/LICENSE
}