summaryrefslogtreecommitdiff
path: root/community/arpack
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/arpack
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/arpack')
-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: