updated on Sat Jan 21 16:18:39 UTC 2012
[aur-mirror.git] / sundials23 / PKGBUILD
blob89a4c3882daca51a277212598d5f28025c89b3f1
1 # Maintainer: Michael Schubert <mschu.dev at gmail>
3 pkgname=sundials23
4 _pkgname=sundials
5 pkgver=2.3.0
6 pkgrel=1
7 pkgdesc="Suite of nonlinear differential/algebraic equation solvers"
8 arch=('i686' 'x86_64')
9 url="https://computation.llnl.gov/casc/sundials/main.html"
10 license=('BSD')
11 provides=('sundials')
12 conflicts=('sundials')
13 options=('!libtool')
14 source=("https://computation.llnl.gov/casc/sundials/download/code/$_pkgname-$pkgver.tar.gz")
15 md5sums=('c236f2a7e0e6a03b8fab3d189471b933')
17 build() {
18   cd "$srcdir/$_pkgname-$pkgver"
20   ./configure F77=gfortran --prefix=/usr --disable-mpi --with-cflags=-fPIC --enable-shared
21   make || return 1
22   make prefix="$pkgdir/usr" install