diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-10-01 22:09:56 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-10-01 22:09:56 +0000 |
commit | 0ee4d33d98dadc7ee853a9ccf2d71443f4dd8c1a (patch) | |
tree | bb27227d2b68ae9fbec5fc9ccfea4d1b385f9371 /testing/hdf5 | |
parent | 4194b9cf809850184ee143efbe944c6d38f7393b (diff) | |
download | aports-0ee4d33d98dadc7ee853a9ccf2d71443f4dd8c1a.tar.bz2 aports-0ee4d33d98dadc7ee853a9ccf2d71443f4dd8c1a.tar.xz |
testing/hdf5: upgrade to 1.8.19 and modernize
Diffstat (limited to 'testing/hdf5')
-rw-r--r-- | testing/hdf5/APKBUILD | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/testing/hdf5/APKBUILD b/testing/hdf5/APKBUILD index 4c703e3e6c..d0fd092eb0 100644 --- a/testing/hdf5/APKBUILD +++ b/testing/hdf5/APKBUILD @@ -10,25 +10,26 @@ # builds, due to inadequate locking. pkgname=hdf5 -pkgver=1.8.18 -_pkgver=$pkgver +pkgver=1.8.19 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" license="custom" -depends="" depends_dev="zlib-dev" makedepends="$depends_dev" -install="" subpackages="$pkgname-dev $pkgname-doc" -source="http://www.hdfgroup.org/ftp/HDF5/current18/src/hdf5-$_pkgver.tar.bz2" +source="http://www.hdfgroup.org/ftp/HDF5/current18/src/$pkgname-$pkgver.tar.bz2" -builddir="$srcdir"/hdf5-$_pkgver +builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + default_prepare + update_config_sub +} build() { cd "$builddir" - update_config_sub || return 1 ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -39,14 +40,13 @@ build() { --localstatedir=/var \ --disable-threadsafe \ --enable-cxx \ - --enable-direct-vfd \ - || return 1 - make || return 1 + --enable-direct-vfd + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install install -d "$pkgdir"/usr/share/licenses/"$pkgname" install -c -m 0644 COPYING "$pkgdir"/usr/share/licenses/"$pkgname"/COPYING } @@ -57,6 +57,4 @@ dev() { 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" +sha512sums="f4eccebbeb27d4b33c4aed4d040c9c83328b3d347a0fcf0bd74f3fd9ab988eb1473f1d69a8e34312df345988d3ba4e192624c8d6ad3ffbd3e456205f981ad90c hdf5-1.8.19.tar.bz2" |