mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
libraries/hdf5: Updated for version 1.8.3
This commit is contained in:
parent
838caecd71
commit
0c92683e8a
3 changed files with 21 additions and 16 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue