summaryrefslogtreecommitdiff
path: root/libraries/hdf5/hdf5.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/hdf5/hdf5.SlackBuild')
-rw-r--r--libraries/hdf5/hdf5.SlackBuild15
1 files changed, 9 insertions, 6 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" \