summaryrefslogtreecommitdiff
path: root/community/arpack
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-29 23:15:03 +0000
committerroot <root@rshg054.dnsready.net>2012-01-29 23:15:03 +0000
commit39711f3264d3b9de2ff6392649274d6333932457 (patch)
treede0577b44ca853064f52a0df25ee9f22efd756bc /community/arpack
parent738e6c6d93b4c7118e49b38c610abed8b7f7d55a (diff)
Sun Jan 29 23:15:02 UTC 2012
Diffstat (limited to 'community/arpack')
-rw-r--r--community/arpack/PKGBUILD68
1 files changed, 25 insertions, 43 deletions
diff --git a/community/arpack/PKGBUILD b/community/arpack/PKGBUILD
index 0f909d106..5bb45c666 100644
--- a/community/arpack/PKGBUILD
+++ b/community/arpack/PKGBUILD
@@ -1,50 +1,32 @@
-# $Id: PKGBUILD 18351 2010-06-02 21:49:21Z shusmann $
+# $Id: PKGBUILD 62905 2012-01-29 00:58:19Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
-# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
-
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=arpack
-pkgver=2.1
-pkgrel=4
-pkgdesc="A collection of Fortran77 subroutines designed to solve large scale eigenvalue problems"
-arch=('i686' 'x86_64')
-url="http://www.caam.rice.edu/software/ARPACK"
-license=('custom:BSD')
-depends=('glibc' 'gcc-fortran')
-source=(http://www.caam.rice.edu/software/ARPACK/SRC/arpack96.tar.gz \
- http://www.caam.rice.edu/software/ARPACK/SRC/patch.tar.gz \
- arpack-2.1-redhat.patch \
- license.txt)
-md5sums=('fffaa970198b285676f4156cebc8626e'
- '14830d758f195f272b8594a493501fa2'
- '95678954de317c92862bb4f9cc9d04ad'
- '7caaa0099a5c39726f4478a1bde89495')
+pkgver=3.0.2
+pkgrel=1
+pkgdesc="Collection of Fortran77 subroutines designed to solve large scale eigenvalue problems"
+arch=('x86_64' 'i686')
+provides=('arpack-ng')
+options=(!libtool)
+url="http://forge.scilab.org/index.php/p/arpack-ng/"
+license=('BSD')
+depends=('glibc' 'gcc-fortran' 'lapack')
+source=("http://forge.scilab.org/upload/arpack-ng/files/arpack_3.0.2.tar.gz")
+sha256sums=('4add769386e0f6b0484491bcff129c6f5234190dbf58e07cc068fbd5dc7278bf')
build() {
- cd $srcdir/ARPACK
- patch -p1 -i ../arpack-2.1-redhat.patch
- mkdir static shared
- cd shared
- for dir in ../SRC ../UTIL; do
- make -f $dir/Makefile VPATH=$dir srcdir=$dir FC=gfortran FFLAGS="-fPIC" \
- single double complex complex16
- done
- gcc -shared -Wl,-soname,libarpack.so.2 -o libarpack.so.2.1 *.o
- cd ..
- cd static
- for dir in ../SRC ../UTIL; do
- make -f $dir/Makefile VPATH=$dir srcdir=$dir FC=gfortran FFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
- all
- done
- ar rv libarpack.a *.o
- ranlib libarpack.a
+ cd "$srcdir/$pkgname-ng-$pkgver"
+
+ ./configure --prefix=/usr
+ make
}
+
package() {
- cd $srcdir/ARPACK
- install -d $pkgdir/usr/lib
- install -p -m644 $srcdir/ARPACK/static/libarpack.a $pkgdir/usr/lib
- install -p -m755 $srcdir/ARPACK/shared/libarpack.so.2.1 $pkgdir/usr/lib
- ln -s libarpack.so.2.1 $pkgdir/usr/lib/libarpack.so.2
- ln -s libarpack.so.2 $pkgdir/usr/lib/libarpack.so
- install -D -m644 $srcdir/license.txt \
- $pkgdir/usr/share/licenses/$pkgname/license.txt
+ cd "$srcdir/$pkgname-ng-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
+
+# vim:set ts=2 sw=2 et: