updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / sundials / PKGBUILD
blob9c3f9aea9093b9c6881b69eee7ea679ece41d693
1 # Contributor: Ivan Pulido <mefistofeles87@gmail.com>
2 pkgname=sundials
3 pkgver=2.4.0
4 pkgrel=1
5 pkgdesc="Suite of nonlinear differential/algebraic equation solvers"
6 arch=('i686' 'x86_64')
7 url="https://computation.llnl.gov/casc/sundials/main.html"
8 license=('BSD')
9 depends=(bash)
10 source=(https://computation.llnl.gov/casc/sundials/download/code/$pkgname-$pkgver.tar.gz)
11 md5sums=('4dbe9b98e66cf7670f42ecb73bf8216e') #generate with 'makepkg -g'
13 build() {
14   cd "$srcdir/$pkgname-$pkgver"
16   ./configure F77=gfortran --prefix=/usr --disable-mpi --with-cflags=-fPIC
17   make || return 1
18   make prefix="$pkgdir/usr/" install
21 # vim:set ts=2 sw=2 et: