diff options
Diffstat (limited to 'libraries/hdf5/hdf5.SlackBuild')
-rw-r--r-- | libraries/hdf5/hdf5.SlackBuild | 17 |
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 \ |