milis/talimatname/genel/python-numpy/talimat

22 lines
568 B
Plaintext

# 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
}