summaryrefslogtreecommitdiffstats
path: root/extra/python-numpy/Pkgfile
blob: 68f496e98e4fb3297a99a1d7279cbcb867f70e15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Scientific tools for Python 
# URL: http://numpy.scipy.org/
# Maintainer: NuTyX core team
# Packager: lesibel at free dot fr
# Depends on: blas, lapack
# Run on: blas,lapack

name=python-numpy
version=1.5.1
release=1
source=(http://downloads.sourceforge.net/numpy/numpy-$version.tar.gz)

build() {
  	cd numpy-$version
  	export Atlas=None
	export LDFLAGS="$LDFLAGS -shared"

  	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
}