diff options
author | LukenShiro <lukenshiro@ngi.it> | 2010-10-20 01:43:33 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-10-20 10:50:47 -0500 |
commit | 02e9ed96d5c30c652b381911d485d97514f31362 (patch) | |
tree | 7acd91f51872e277ac31a5656ecb66e39a064f31 /libraries/hdf5/hdf5.SlackBuild | |
parent | d29a683adf24b643cbb11e6e69dc5461fa71b8d7 (diff) | |
download | slackbuilds-02e9ed96d5c30c652b381911d485d97514f31362.tar.gz |
libraries/hdf5: Updated for version 1.8.5_patch1.
Diffstat (limited to 'libraries/hdf5/hdf5.SlackBuild')
-rw-r--r-- | libraries/hdf5/hdf5.SlackBuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/libraries/hdf5/hdf5.SlackBuild b/libraries/hdf5/hdf5.SlackBuild index 1006d4117d..c3b0ceac99 100644 --- a/libraries/hdf5/hdf5.SlackBuild +++ b/libraries/hdf5/hdf5.SlackBuild @@ -23,16 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=hdf5 -VERSION=${VERSION:-1.8.5} +VERSION=${VERSION:-1.8.5_patch1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -56,18 +54,18 @@ else LIBDIRSUFFIX="" fi -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" +SRCVERSION=$(echo $VERSION | tr '_' '-') +DOCFILES="ACKNOWLEDGMENTS COPYING README.txt release_docs/RELEASE.txt \ + release_docs/HISTORY* 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 . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ |