[arch-commits] Commit in hdf5/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Wed Jan 17 13:46:04 UTC 2018


    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) <archange at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
 # Contributor: Stefan Husmann <stefan-husmann at t-online.de>
 # Contributor: damir <damir at archlinux.org>
 # Contributor: Tom K <tomk at runbox.com>
@@ -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
 



More information about the arch-commits mailing list