updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sprng2 / PKGBUILD
blob67768a5c928236bf8f9e2db49e1ac245fde48036
1 # Contributor: giniu <gginiu@gmail.com>
2 pkgname=sprng2
3 pkgver=2.0b
4 pkgrel=1
5 pkgdesc="Scalable Parallel Pseudo Random Number Generators Library, 2.0 API"
6 arch=('i686', 'x86_64')
7 url="http://sprng.cs.fsu.edu/"
8 license=('unknown')
9 depends=('gmp')
10 makedepends=('gcc-fortran')
11 source=(http://sprng.cs.fsu.edu/Version2.0/sprng${pkgver}.tar.gz
12         gfortran.patch)
13 md5sums=('cf825f9333d07acdcaa599f29f281b8d'
14          'c2a97fb0b46b189fb36d052ee03d20b4')
16 build() {
17   cd "$srcdir/sprng2.0"
18   patch -p0 < ../gfortran.patch
19   MAKEFLAGS="" make src
20   install -D -m644 lib/libsprng.a "${pkgdir}/usr/lib/libsprng.a" || return 1
21   install -D -m644 include/interface.h "${pkgdir}/usr/include/interface.h" || return 1
22   install -D -m644 include/sprng.h "${pkgdir}/usr/include/sprng.h" || return 1
23   install -D -m644 include/sprng_f.h "${pkgdir}/usr/include/sprng_f.h" || return 1
26 # vim:set ts=2 sw=2 et: