diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-01-13 09:59:05 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-01-13 10:00:13 +0200 |
commit | 6313de81ceef68e38c5dc5cbb7e8304e8cee48f7 (patch) | |
tree | c80df874dbf4179b562f5e30848c2f3b1115ea43 /testing/hdf5 | |
parent | f24402c59aee6fcdd4383258e544135f2c19039b (diff) | |
download | aports-6313de81ceef68e38c5dc5cbb7e8304e8cee48f7.tar.bz2 aports-6313de81ceef68e38c5dc5cbb7e8304e8cee48f7.tar.xz |
testing/hdf5: upgrade to 1.8.18, fixes to build
new source url, enable cxx, move all examples to -dev
fixes #6319
Diffstat (limited to 'testing/hdf5')
-rw-r--r-- | testing/hdf5/APKBUILD | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/testing/hdf5/APKBUILD b/testing/hdf5/APKBUILD index 8f06129486..4c703e3e6c 100644 --- a/testing/hdf5/APKBUILD +++ b/testing/hdf5/APKBUILD @@ -10,9 +10,9 @@ # builds, due to inadequate locking. pkgname=hdf5 -pkgver=1.8.17 +pkgver=1.8.18 _pkgver=$pkgver -pkgrel=1 +pkgrel=0 pkgdesc="HDF5 is a data model, library, and file format for storing and managing data" url="http://www.hdfgroup.org/HDF5/" arch="all" @@ -22,21 +22,12 @@ depends_dev="zlib-dev" makedepends="$depends_dev" install="" subpackages="$pkgname-dev $pkgname-doc" -source="http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-$_pkgver.tar.bz2" +source="http://www.hdfgroup.org/ftp/HDF5/current18/src/hdf5-$_pkgver.tar.bz2" -_builddir="$srcdir"/hdf5-$_pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/hdf5-$_pkgver build() { - cd "$_builddir" + cd "$builddir" update_config_sub || return 1 ./configure \ --build=$CBUILD \ @@ -47,18 +38,25 @@ build() { --infodir=/usr/share/info \ --localstatedir=/var \ --disable-threadsafe \ + --enable-cxx \ --enable-direct-vfd \ || return 1 make || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 install -d "$pkgdir"/usr/share/licenses/"$pkgname" install -c -m 0644 COPYING "$pkgdir"/usr/share/licenses/"$pkgname"/COPYING } -md5sums="34bd1afa5209259201a41964100d6203 hdf5-1.8.17.tar.bz2" -sha256sums="fc35dd8fd8d398de6b525b27cc111c21fc79795ad6db1b1f12cb15ed1ee8486a hdf5-1.8.17.tar.bz2" -sha512sums="b0fe630b98a83470c48443215b7073fd22c4390cc459127a4c9554682ae8aec215017c7f34adb8494da4b31fabe6580e9d1b63eddb949432d595e99705c0bbd1 hdf5-1.8.17.tar.bz2" +dev() { + mkdir -p "$subpkgdir"/usr/share + mv "$pkgdir"/usr/share/hdf5_examples/ "$subpkgdir"/usr/share + default_dev +} + +md5sums="29117bf488887f89888f9304c8ebea0b hdf5-1.8.18.tar.bz2" +sha256sums="01c6deadf4211f86922400da82c7a8b5b50dc8fc1ce0b5912de3066af316a48c hdf5-1.8.18.tar.bz2" +sha512sums="01f6d14bdd3be2ced9c63cc9e1820cd7ea11db649ff9f3a3055c18c4b0fffe777fd23baad536e3bce31c4d76fe17db64a3972762e1bb4d232927c1ca140e72b2 hdf5-1.8.18.tar.bz2" |