Date: Wednesday, January 17, 2018 @ 13:46:00
  Author: archange
Revision: 283665

Enable SZip support via libaec

Modified:
  hdf5/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-01-17 13:44:32 UTC (rev 283664)
+++ PKGBUILD    2018-01-17 13:46:00 UTC (rev 283665)
@@ -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]>
@@ -7,12 +7,12 @@
 
 pkgname=hdf5
 pkgver=1.10.1
-pkgrel=1
+pkgrel=2
 pkgdesc="General purpose library and file format for storing scientific data"
 arch=('x86_64')
 url="https://www.hdfgroup.org/hdf5/";
 license=('custom')
-depends=('zlib' 'bash')
+depends=('zlib' 'libaec' 'bash')
 makedepends=('time' 'gcc-fortran')
 replaces=('hdf5-cpp-fortran')
 provides=('hdf5-cpp-fortran')
@@ -22,25 +22,31 @@
 
 build() {
     cd ${pkgname}-${pkgver/_/-}
-
     ./configure \
         --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 \
-        --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
 

Reply via email to