summaryrefslogtreecommitdiff
path: root/libraries/hdf5
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/hdf5')
-rw-r--r--libraries/hdf5/hdf5.SlackBuild15
-rw-r--r--libraries/hdf5/hdf5.info6
2 files changed, 12 insertions, 9 deletions
diff --git a/libraries/hdf5/hdf5.SlackBuild b/libraries/hdf5/hdf5.SlackBuild
index 245253dbe8..1006d4117d 100644
--- a/libraries/hdf5/hdf5.SlackBuild
+++ b/libraries/hdf5/hdf5.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=hdf5
-VERSION=${VERSION:-1.8.4_patch1}
+VERSION=${VERSION:-1.8.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,7 +56,6 @@ else
LIBDIRSUFFIX=""
fi
-SRCVERSION=$(echo $VERSION | tr "_" "-")
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"
@@ -66,11 +65,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVERSION
-tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.bz2
-cd $PRGNAM-$SRCVERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
# --with-ssl option removed
CFLAGS="$SLKCFLAGS" \
diff --git a/libraries/hdf5/hdf5.info b/libraries/hdf5/hdf5.info
index 60ac6f9056..dbfe6a504a 100644
--- a/libraries/hdf5/hdf5.info
+++ b/libraries/hdf5/hdf5.info
@@ -1,8 +1,8 @@
PRGNAM="hdf5"
-VERSION="1.8.4_patch1"
+VERSION="1.8.5"
HOMEPAGE="http://hdf.ncsa.uiuc.edu/products/hdf5/"
-DOWNLOAD="ftp://ftp.hdfgroup.org/HDF5/current/src/hdf5-1.8.4-patch1.tar.bz2"
-MD5SUM="b19f4dfbf654a2af3653c492fc1c7513"
+DOWNLOAD="ftp://ftp.hdfgroup.org/HDF5/current/src/hdf5-1.8.5.tar.bz2"
+MD5SUM="a400fe6c1c5964a7224dc684225d415c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="LukenShiro"