summaryrefslogtreecommitdiff
path: root/community/arpack/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/arpack/PKGBUILD')
-rw-r--r--community/arpack/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/arpack/PKGBUILD b/community/arpack/PKGBUILD
new file mode 100644
index 000000000..e74300516
--- /dev/null
+++ b/community/arpack/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 85849 2013-03-07 18:31:38Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: William Rea <sillywilly@gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+
+pkgname=arpack
+pkgver=3.1.2
+pkgrel=1
+arch=('x86_64' 'i686')
+pkgdesc='Fortran77 subroutines designed to solve large scale eigenvalue problems'
+url='http://forge.scilab.org/index.php/p/arpack-ng/'
+license=('BSD')
+depends=('lapack' 'openmpi')
+provides=('arpack-ng')
+options=('!libtool')
+source=("http://forge.scilab.org/upload/$pkgname-ng/files/$pkgname-ng_$pkgver.tar.gz")
+sha256sums=('9338bda5bef5a4bafd99c18f327acb54f8be4ffc5c53d0a186e4aa27db3260f2')
+
+build() {
+ cd "$srcdir/$pkgname-ng_$pkgver"
+
+ ./configure --prefix=/usr --enable-mpi
+ make \
+ F77="mpif77" \
+ CFLAGS+=" `pkg-config --cflags ompi` " \
+ LIBS+=" `pkg-config --libs ompi` "
+}
+
+package() {
+ 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: