# Description: Scientific tools for Python
# URL: http://numpy.scipy.org/
# Packager: pierre at nutyx dot org
# Depends on: python lapack 

name=python-numpy
version=1.9.2
release=1

source=(http://sourceforge.net/projects/numpy/files/NumPy/$version/numpy-$version.tar.gz)

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

python2 setup.py config_fc --fcompiler=gnu95 build
python2 setup.py config_fc --fcompiler=gnu95 install --prefix=/usr --root=$PKG --optimize=1

install -D -m644 LICENSE.txt $PKG/usr/share/licenses/$name/LICENSE
}
