summaryrefslogtreecommitdiff
path: root/libraries/hdf5/hdf5.SlackBuild
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2010-04-14 20:35:06 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-15 10:37:56 +0200
commit56722e303484528072c5d5ce521afde2f2fdfa24 (patch)
treef089785ba8d5fefdc2e7671658237f602d30575c /libraries/hdf5/hdf5.SlackBuild
parent73922ef2a6d61bc8ea8d13641e7a297c789544c7 (diff)
downloadslackbuilds-56722e303484528072c5d5ce521afde2f2fdfa24.tar.gz
libraries/hdf5: Updated for version 1.8.4_patch1.
Diffstat (limited to 'libraries/hdf5/hdf5.SlackBuild')
-rw-r--r--libraries/hdf5/hdf5.SlackBuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/libraries/hdf5/hdf5.SlackBuild b/libraries/hdf5/hdf5.SlackBuild
index f9faa45b9e..0432044dc0 100644
--- a/libraries/hdf5/hdf5.SlackBuild
+++ b/libraries/hdf5/hdf5.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for hdf5
-# Copyright 2007-2009 LukenShiro <lukenshiro@ngi.it>
+# Copyright 2007-2010 LukenShiro <lukenshiro@ngi.it>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=hdf5
-VERSION=${VERSION:-1.8.4}
+VERSION=${VERSION:-1.8.4_patch1}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,19 +44,23 @@ elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
fi
-DOCFILES="COPYING MANIFEST README.txt release_docs/RELEASE.txt release_docs/HISTORY-1_8.txt"
+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"
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 .
chmod -R u+w,go+r-w,a-s .
+# --with-ssl option removed
CFLAGS="$SLKCFLAGS" \
CPPFLAGS="$SLKCFLAGS" \
./configure \
@@ -67,7 +71,6 @@ CPPFLAGS="$SLKCFLAGS" \
--with-pthread \
--enable-cxx \
--enable-fortran \
- --with-ssl \
--with-zlib \
--without-szlib \
--enable-static=no \