Browse Source

l/hdf5: Upgraded to hdf5-1.10.5.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
f5e9a56e71
  1. 1
      l/hdf5/hdf5-1.10.5.tar.gz.sha256
  2. 1
      l/hdf5/hdf5-1.8.17.tar.gz.sha1
  3. 15
      l/hdf5/hdf5.SlackBuild

1
l/hdf5/hdf5-1.10.5.tar.gz.sha256

@ -0,0 +1 @@
6d4ce8bf902a97b050f6f491f4268634e252a63dadd6656a1a9be5b7b7726fa8 hdf5-1.10.5.tar.gz

1
l/hdf5/hdf5-1.8.17.tar.gz.sha1

@ -1 +0,0 @@
cee43bffa2ff458d7208085b3624534bdf456cb5 hdf5-1.8.17.tar.gz

15
l/hdf5/hdf5.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2010,2012,2013,2015,2016 Damien Goutte-Gattat
# Copyright (C) 2010,2012,2013,2015,2016,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,10 +26,10 @@
# Source package infos
NAMESRC=${NAMESRC:-hdf5}
VERSION=${VERSION:-1.8.17}
VERSION=${VERSION:-1.10.5}
PKGVERSION=${VERSION//-patch/p}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-$VERSION/src/$ARCHIVE}
WGET=${WGET:-https://www.hdfgroup.org/package/hdf5-1-10-5-tar-gz/?wpdmdl=13571&refresh=5dc73cfb07aac1573338363}
# Build infos
NAMEPKG=${NAMEPKG:-hdf5}
@ -76,7 +76,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -92,14 +92,15 @@ CXXFLAGS=$CPUOPT \
--includedir=/usr/include/hdf5 \
--disable-static \
--enable-cxx \
--enable-fortran
--enable-fortran \
--enable-build-mode=production
make -j $JOBS
make install-strip DESTDIR=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$PKGVERSION
install -m 644 ACKNOWLEDGMENTS COPYING README.txt \
release_docs/HISTORY* release_docs/RELEASE.txt \
install -m 644 ACKNOWLEDGMENTS COPYING{,_LBNL_HDF5} README.txt \
release_docs/HISTORY* release_docs/RELEASE.txt release_docs/USING* \
$PKG/usr/doc/$NAMEPKG-$PKGVERSION
# Copy slack-desc file

Loading…
Cancel
Save