Date: Wednesday, January 17, 2018 @ 13:56:39 Author: archange Revision: 283670
Enable SZip support via libaec Modified: hdf5-openmpi/trunk/PKGBUILD ----------+ PKGBUILD | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-01-17 13:50:46 UTC (rev 283669) +++ PKGBUILD 2018-01-17 13:56:39 UTC (rev 283670) @@ -1,6 +1,6 @@ # $Id$ # Maintainer: Ronald van Haren <ronald.archlinux.org> -# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <[email protected]> +# Maintainer: Bruno Pagani <[email protected]> # Contributor: Stefan Husmann <[email protected]> # Contributor: damir <[email protected]> # Contributor: Tom K <[email protected]> @@ -11,12 +11,12 @@ _mpi=openmpi pkgname=${_pkgname}-${_mpi} pkgver=1.10.1 -pkgrel=2 +pkgrel=3 pkgdesc="General purpose library and file format for storing scientific data (${_mpi} version)" arch=('x86_64') url="https://www.hdfgroup.org/HDF5/" license=('custom') -depends=('zlib' 'bash' 'openmpi') +depends=('zlib' 'libaec' 'bash' 'openmpi') makedepends=('time' 'gcc-fortran') provides=('hdf5' 'hdf5-cpp-fortran' "hdf5-fortran-${_mpi}") conflicts=('hdf5') @@ -43,24 +43,31 @@ RUNPARALLEL="mpirun" \ OMPI_MCA_disable_memory_allocator=1 \ --prefix=/usr \ + --docdir=/usr/share/doc/hdf5/ \ --disable-static \ + --disable-sharedlib-rpath \ + --enable-build-mode=production \ --enable-hl \ - --enable-build-mode=production \ - --with-pic \ - --docdir=/usr/share/doc/hdf5/ \ - --disable-sharedlib-rpath \ --enable-cxx \ --enable-fortran \ --enable-parallel \ --enable-unsupported \ - --with-zlib + --with-pic \ + --with-zlib \ + --with-szlib make } +# Check are failing with error while loading shared libraries: libhdf5.so.101: cannot open shared object file: No such file or directory +#check() { +# cd ${pkgname}-${pkgver/_/-} +# make check +#} + package() { cd ${_pkgname}-${pkgver/_/-} - make -j1 DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install rm -rf "${pkgdir}"/usr/lib/libdynlib*.so
