From 3a812ea3c49d8bbd197093aa3834a7051791cd9b Mon Sep 17 00:00:00 2001 From: milisarge Date: Wed, 31 May 2017 02:05:30 +0300 Subject: [PATCH] python-numpy --- talimatname/genel/python-numpy/talimat | 17 +++++++---------- talimatname/genel/python3-numpy/talimat | 18 ++++++++++++++++++ talimatname/genel/xorg-gccmakedep/talimat | 16 ++++++++++++++++ talimatname/genel/xzoom/talimat | 20 ++++++++++++++++++++ 4 files changed, 61 insertions(+), 10 deletions(-) create mode 100644 talimatname/genel/python3-numpy/talimat create mode 100644 talimatname/genel/xorg-gccmakedep/talimat create mode 100644 talimatname/genel/xzoom/talimat diff --git a/talimatname/genel/python-numpy/talimat b/talimatname/genel/python-numpy/talimat index 3801d4cf1..b4ece29a5 100644 --- a/talimatname/genel/python-numpy/talimat +++ b/talimatname/genel/python-numpy/talimat @@ -1,21 +1,18 @@ # Description: python bilimsel araç kütüphanesi # URL: http://numpy.scipy.org/ # Packager: milisarge -# Depends on: python lapack +# Depends on: python-setuptools lapack name=python-numpy -version=1.9.2 +version=1.11.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 + 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 } diff --git a/talimatname/genel/python3-numpy/talimat b/talimatname/genel/python3-numpy/talimat new file mode 100644 index 000000000..753a73ffc --- /dev/null +++ b/talimatname/genel/python3-numpy/talimat @@ -0,0 +1,18 @@ +# Description: python3 bilimsel araç kütüphanesi +# URL: http://numpy.scipy.org/ +# Packager: milisarge +# Depends on: python3-setuptools lapack + +name=python3-numpy +version=1.11.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" + python3 setup.py config_fc --fcompiler=gnu95 build + python3 setup.py config_fc --fcompiler=gnu95 install --prefix=/usr --root=$PKG --optimize=1 +} diff --git a/talimatname/genel/xorg-gccmakedep/talimat b/talimatname/genel/xorg-gccmakedep/talimat new file mode 100644 index 000000000..217680308 --- /dev/null +++ b/talimatname/genel/xorg-gccmakedep/talimat @@ -0,0 +1,16 @@ +# Description: creates dependencies in Makefiles +# URL: http://xorg.freedesktop.org +# Packager: milisarge +# Depends on: + +name=xorg-gccmakedep +version=1.0.3 +release=2 +source=(http://xorg.freedesktop.org/releases/individual/util/gccmakedep-$version.tar.bz2) + +build() { + cd gccmakedep-$version + ./configure --prefix=/usr + make + make DESTDIR=$PKG install +} diff --git a/talimatname/genel/xzoom/talimat b/talimatname/genel/xzoom/talimat new file mode 100644 index 000000000..156aa3288 --- /dev/null +++ b/talimatname/genel/xzoom/talimat @@ -0,0 +1,20 @@ +# Description: Ekran Büyüteci +# URL: ftp://sunsite.unc.edu/pub/linux/libs/X/ +# Packager: milisarge +# Depends on: xorg-imake xorg-libxt xorg-libxext + +name=xzoom +version=0.3 +release=1 +source=(http://webdiis.unizar.es/pub/unix/X11/$name-$version.tgz +ftp://ftp.acc.umu.se/mirror/cdimage/snapshot/Debian/pool/main/x/xzoom/xzoom_0.3-23.diff.gz) + +build() { + cd "$name-$version" + gzip -d $SRC/xzoom_0.3-23.diff.gz + patch -Np1 < "$SRC/xzoom_0.3-23.diff" + xmkmf -a + sed -i "s@-O2@$CFLAGS@" ./Makefile + make + make DESTDIR="$PKG" install +}