summaryrefslogtreecommitdiff
path: root/libraries/hdf5
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2010-10-20 01:43:33 -0500
committerErik Hanson <erik@slackbuilds.org>2010-10-20 10:50:47 -0500
commit02e9ed96d5c30c652b381911d485d97514f31362 (patch)
tree7acd91f51872e277ac31a5656ecb66e39a064f31 /libraries/hdf5
parentd29a683adf24b643cbb11e6e69dc5461fa71b8d7 (diff)
downloadslackbuilds-02e9ed96d5c30c652b381911d485d97514f31362.tar.gz
libraries/hdf5: Updated for version 1.8.5_patch1.
Diffstat (limited to 'libraries/hdf5')
-rw-r--r--libraries/hdf5/hdf5.SlackBuild16
-rw-r--r--libraries/hdf5/hdf5.info8
2 files changed, 11 insertions, 13 deletions
diff --git a/libraries/hdf5/hdf5.SlackBuild b/libraries/hdf5/hdf5.SlackBuild
index 1006d4117d..c3b0ceac99 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 dbfe6a504a..2fc7ab809b 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"