1 # Maintainer Yngve Inntjore Levinsen <yngveDOTlevinsenATgmailDOTcom>
2 # Contributor: Jed Brown <jed@59A2.org>
9 pkgdesc="General purpose library and file format for storing scientific data"
10 url="http://hdfgroup.org/HDF5"
12 provides=(hdf5=${pkgver})
14 depends=('zlib' 'bash' 'gcc-libs')
16 source=(ftp://ftp.hdfgroup.org/HDF5/current/src/${_pkgname}-${pkgver}.tar.gz)
17 md5sums=('37711d4bcb72997e93d495f97c76c33a')
21 [ -e build ] && rm -rf build
22 mkdir -p build && cd build
25 # There is a large amount of warnings
26 # that I don't want every user to see...
27 export CFLAGS="-Wno-unused-but-set-variable -Wno-format-nonliteral -Wno-unsuffixed-float-constants -Wno-sign-conversion -Wno-conversion -Wno-strict-overflow -Wno-unsafe-loop-optimizations -Wno-cast-qual -Wno-c++-compat -Wno-switch-enum -Wno-unused-macros -Wno-float-equal -Wno-double-promotion"
28 ../${_pkgname}-${pkgver}/configure \
37 --docdir=${_prefix}/share/${_pkgname} \
38 --with-pthread=/usr/lib
45 make -j1 prefix=${pkgdir}${_prefix} install
47 install -D -m644 ${srcdir}/${_pkgname}-${pkgver}/COPYING \
48 ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE