From 02e9ed96d5c30c652b381911d485d97514f31362 Mon Sep 17 00:00:00 2001 From: LukenShiro Date: Wed, 20 Oct 2010 01:43:33 -0500 Subject: libraries/hdf5: Updated for version 1.8.5_patch1. --- libraries/hdf5/hdf5.SlackBuild | 16 +++++++--------- libraries/hdf5/hdf5.info | 8 ++++---- 2 files changed, 11 insertions(+), 13 deletions(-) (limited to 'libraries') diff --git a/libraries/hdf5/hdf5.SlackBuild b/libraries/hdf5/hdf5.SlackBuild index 1006d4117dd8..c3b0ceac99d9 100644 --- a/libraries/hdf5/hdf5.SlackBuild +++ b/libraries/hdf5/hdf5.SlackBuild @@ -23,16 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=hdf5 -VERSION=${VERSION:-1.8.5} +VERSION=${VERSION:-1.8.5_patch1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -56,18 +54,18 @@ else LIBDIRSUFFIX="" fi -DOCFILES="COPYING README.txt release_docs/RELEASE.txt \ - release_docs/HISTORY-1_8.txt release_docs/HISTORY-1_0-1_8_0_rc3.txt \ - release_docs/INSTALL" +SRCVERSION=$(echo $VERSION | tr '_' '-') +DOCFILES="ACKNOWLEDGMENTS COPYING README.txt release_docs/RELEASE.txt \ + release_docs/HISTORY* release_docs/INSTALL" set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$SRCVERSION +tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.bz2 +cd $PRGNAM-$SRCVERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ diff --git a/libraries/hdf5/hdf5.info b/libraries/hdf5/hdf5.info index dbfe6a504ab4..2fc7ab809b58 100644 --- a/libraries/hdf5/hdf5.info +++ b/libraries/hdf5/hdf5.info @@ -1,10 +1,10 @@ PRGNAM="hdf5" -VERSION="1.8.5" +VERSION="1.8.5_patch1" HOMEPAGE="http://hdf.ncsa.uiuc.edu/products/hdf5/" -DOWNLOAD="ftp://ftp.hdfgroup.org/HDF5/current/src/hdf5-1.8.5.tar.bz2" -MD5SUM="a400fe6c1c5964a7224dc684225d415c" +DOWNLOAD="ftp://ftp.hdfgroup.org/HDF5/current/src/hdf5-1.8.5-patch1.tar.bz2" +MD5SUM="27308a145e6c208d57db3f6f2634a0f6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="LukenShiro" EMAIL="lukenshiro@ngi.it" -APPROVED="dsomero" +APPROVED="Erik Hanson" -- cgit v1.2.3