aboutsummaryrefslogtreecommitdiff
path: root/libraries/hdf5/hdf5.SlackBuild
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2010-08-15 19:22:09 -0400
committerErik Hanson <erik@slackbuilds.org>2010-08-15 20:53:43 -0500
commit13c7c927e10c8e155f92fea93a92aaeebea88626 (patch)
tree8facbfa1a644068c93c28d3b242d3aec131f1ac3 /libraries/hdf5/hdf5.SlackBuild
parent22a543673a1ed40edb5d5e7771e5bdf5609d791a (diff)
libraries/hdf5: Updated for version 1.8.5.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 245253dbe815c..1006d4117dd80 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" \