summaryrefslogtreecommitdiff
path: root/libraries/hdf5
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2010-05-12 17:40:53 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:40:53 +0200
commit0c92683e8a5094ee9f80d250d392ada4d315ed79 (patch)
tree322ad54b5c20a59b54c3894b4d5e519fc79780a7 /libraries/hdf5
parent838caecd719fc944d5a8f7039a265ffaaf7d74e1 (diff)
downloadslackbuilds-0c92683e8a5094ee9f80d250d392ada4d315ed79.tar.gz
libraries/hdf5: Updated for version 1.8.3
Diffstat (limited to 'libraries/hdf5')
-rw-r--r--libraries/hdf5/hdf5.SlackBuild17
-rw-r--r--libraries/hdf5/hdf5.info8
-rw-r--r--libraries/hdf5/slack-desc12
3 files changed, 21 insertions, 16 deletions
diff --git a/libraries/hdf5/hdf5.SlackBuild b/libraries/hdf5/hdf5.SlackBuild
index 651ef23cbf..0a2dc6314d 100644
--- a/libraries/hdf5/hdf5.SlackBuild
+++ b/libraries/hdf5/hdf5.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for hdf5
-# Copyright 2007 LukenShiro <lukenshiro@ngi.it>
+# Copyright 2007-2009 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=1.8.1
+VERSION=${VERSION:-1.8.3}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,19 +35,25 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
+DOCFILES="COPYING MANIFEST README.txt release_docs/RELEASE.txt \
+ release_docs/HISTORY-1_8.txt"
+
set -e # Exit on most errors
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -57,6 +63,7 @@ CPPFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--with-pthread \
--enable-cxx \
@@ -71,10 +78,8 @@ make
make install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING MANIFEST README.txt release_docs/RELEASE.txt \
- release_docs/HISTORY-1_8.txt $PKG/usr/doc/$PRGNAM-$VERSION
+install -m 0644 $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/usr/doc -type f -exec chmod 0644 {} \;
# Remove unnecessary stuff
rm -f $PKG/usr/lib/*.settings
diff --git a/libraries/hdf5/hdf5.info b/libraries/hdf5/hdf5.info
index 60d5b52bc3..ac333d8611 100644
--- a/libraries/hdf5/hdf5.info
+++ b/libraries/hdf5/hdf5.info
@@ -1,8 +1,8 @@
PRGNAM="hdf5"
-VERSION="1.8.1"
+VERSION="1.8.3"
HOMEPAGE="http://hdf.ncsa.uiuc.edu/products/hdf5/"
-DOWNLOAD="ftp://ftp.hdfgroup.org/HDF5/current/src/hdf5-1.8.1.tar.bz2"
-MD5SUM="db983df70a69f8d0d87314ad1ccc2256"
+DOWNLOAD="ftp://ftp.hdfgroup.org/HDF5/current/src/hdf5-1.8.3.tar.gz"
+MD5SUM="5ce228d860bf9e797ca40ab1a823c380"
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"
-APPROVED="rworkman"
+APPROVED="dsomero"
diff --git a/libraries/hdf5/slack-desc b/libraries/hdf5/slack-desc
index fc4cab5fbc..0ce6080d7a 100644
--- a/libraries/hdf5/slack-desc
+++ b/libraries/hdf5/slack-desc
@@ -5,15 +5,15 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler------------------------------------------------------|
+ |-----handy-ruler---------------------------------------------------------|
hdf5: hdf5 (HDF5 software libraries and utilities)
hdf5:
-hdf5: Hierarchical Data Format 5 defines a file format and
-hdf5: and provides a software library for storing arbitrary
-hdf5: multidimensional datasets of various types.
-hdf5: hdf5 provides also c++ and fortran interfaces.
+hdf5: Hierarchical Data Format 5 defines a file format and and provides a
+hdf5: software library for storing arbitrary multidimensional datasets of
+hdf5: various types. hdf5 provides also c++ and fortran interfaces.
hdf5: It is released under a BSD-ish license.
hdf5:
-hdf5: http://hdf.ncsa.uiuc.edu/products/hdf5/
+hdf5: Homepage: http://hdf.ncsa.uiuc.edu/products/hdf5/
+hdf5:
hdf5:
hdf5: