1 # Contributor: Jed Brown <jed@59A2.org>
5 _mpirun=${_prefix}/bin/mpiexec
10 pkgdesc="General purpose library and file format for storing scientific data"
11 url="http://hdfgroup.org/HDF5"
15 depends=('zlib' 'bash' 'openmpi' 'gcc-libs')
17 source=(ftp://ftp.hdfgroup.org/HDF5/current/src/${_pkgname}-${_pkgver}.tar.gz)
18 md5sums=('37711d4bcb72997e93d495f97c76c33a')
22 mkdir -p build && cd build
25 ../${_pkgname}-${_pkgver}/configure \
26 FC=${_prefix}/bin/mpif90 \
27 CC=${_prefix}/bin/mpicc CXX=${_prefix}/bin/mpicxx \
36 --docdir=${_prefix}/share/${_pkgname} \
37 --with-pthread=/usr/lib
44 make -j1 prefix=${pkgdir}${_prefix} install
46 install -D -m644 ${srcdir}/${_pkgname}-${_pkgver}/COPYING \
47 ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE