mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/hdf5: Updated for version 1.8.21.
Changed maintainer Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
f671186800
commit
9257240903
2 changed files with 13 additions and 13 deletions
|
@ -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 \
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue