milis/talimatname/genel/python-numpy/talimat

22 lines
562 B
Plaintext
Raw Normal View History

2017-03-29 18:32:51 +02:00
# Description: python bilimsel araç kütüphanesi
2016-02-24 01:27:23 +01:00
# URL: http://numpy.scipy.org/
2017-03-29 18:32:51 +02:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# 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
}