summaryrefslogtreecommitdiffstats
path: root/extra/python-numpy/Pkgfile
diff options
context:
space:
mode:
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
}