mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
libraries/hdf5: Updated for version 1.8.5_patch1.
This commit is contained in:
parent
d29a683adf
commit
02e9ed96d5
2 changed files with 11 additions and 13 deletions
|
@ -23,16 +23,14 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=hdf5
|
PRGNAM=hdf5
|
||||||
VERSION=${VERSION:-1.8.5}
|
VERSION=${VERSION:-1.8.5_patch1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
# Automatically determine the architecture we're building on:
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i486 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
@ -56,18 +54,18 @@ else
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DOCFILES="COPYING README.txt release_docs/RELEASE.txt \
|
SRCVERSION=$(echo $VERSION | tr '_' '-')
|
||||||
release_docs/HISTORY-1_8.txt release_docs/HISTORY-1_0-1_8_0_rc3.txt \
|
DOCFILES="ACKNOWLEDGMENTS COPYING README.txt release_docs/RELEASE.txt \
|
||||||
release_docs/INSTALL"
|
release_docs/HISTORY* release_docs/INSTALL"
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$SRCVERSION
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.bz2
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$SRCVERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
find . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="hdf5"
|
PRGNAM="hdf5"
|
||||||
VERSION="1.8.5"
|
VERSION="1.8.5_patch1"
|
||||||
HOMEPAGE="http://hdf.ncsa.uiuc.edu/products/hdf5/"
|
HOMEPAGE="http://hdf.ncsa.uiuc.edu/products/hdf5/"
|
||||||
DOWNLOAD="ftp://ftp.hdfgroup.org/HDF5/current/src/hdf5-1.8.5.tar.bz2"
|
DOWNLOAD="ftp://ftp.hdfgroup.org/HDF5/current/src/hdf5-1.8.5-patch1.tar.bz2"
|
||||||
MD5SUM="a400fe6c1c5964a7224dc684225d415c"
|
MD5SUM="27308a145e6c208d57db3f6f2634a0f6"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="LukenShiro"
|
MAINTAINER="LukenShiro"
|
||||||
EMAIL="lukenshiro@ngi.it"
|
EMAIL="lukenshiro@ngi.it"
|
||||||
APPROVED="dsomero"
|
APPROVED="Erik Hanson"
|
||||||
|
|
Loading…
Reference in a new issue