diff options
Diffstat (limited to 'libraries/hdf5')
-rw-r--r-- | libraries/hdf5/hdf5.SlackBuild | 16 | ||||
-rw-r--r-- | libraries/hdf5/hdf5.info | 10 |
2 files changed, 13 insertions, 13 deletions
diff --git a/libraries/hdf5/hdf5.SlackBuild b/libraries/hdf5/hdf5.SlackBuild index 5171da7c6c..8e2eac6a13 100644 --- a/libraries/hdf5/hdf5.SlackBuild +++ b/libraries/hdf5/hdf5.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for hdf5 # Copyright 2007-2015 LukenShiro, Italy +# Copyright 2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +24,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=hdf5 -VERSION=${VERSION:-1.8.15_patch1} +VERSION=${VERSION:-1.8.21} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -54,7 +55,6 @@ else LIBDIRSUFFIX="" fi -SRCVERSION=$(echo $VERSION | tr '_' '-') DOCFILES="ACKNOWLEDGMENTS COPYING README.txt release_docs/RELEASE.txt \ release_docs/HISTORY* release_docs/INSTALL" @@ -63,9 +63,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVERSION -tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.?z* -cd $PRGNAM-$SRCVERSION +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/libraries/hdf5/hdf5.info b/libraries/hdf5/hdf5.info index e34be89f98..11ea1eff79 100644 --- a/libraries/hdf5/hdf5.info +++ b/libraries/hdf5/hdf5.info @@ -1,10 +1,10 @@ PRGNAM="hdf5" -VERSION="1.8.15_patch1" +VERSION="1.8.21" HOMEPAGE="https://www.hdfgroup.org/" -DOWNLOAD="https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.15-patch1/src/hdf5-1.8.15-patch1.tar.bz2" -MD5SUM="3c0d7a8c38d1abc7b40fc12c1d5f2bb8" +DOWNLOAD="https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.21/src/hdf5-1.8.21.tar.bz2" +MD5SUM="2d2408f2a9dfb5c7b79998002e9a90e9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="LukenShiro" -EMAIL="lukenshiro@ngi.it" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" |