diff options
Diffstat (limited to 'libraries/hdf5/hdf5.SlackBuild')
-rw-r--r-- | libraries/hdf5/hdf5.SlackBuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/libraries/hdf5/hdf5.SlackBuild b/libraries/hdf5/hdf5.SlackBuild index 0a2dc6314d..f9faa45b9e 100644 --- a/libraries/hdf5/hdf5.SlackBuild +++ b/libraries/hdf5/hdf5.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=hdf5 -VERSION=${VERSION:-1.8.3} +VERSION=${VERSION:-1.8.4} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -44,16 +44,15 @@ elif [ "$ARCH" = "x86_64" ]; then LIBDIRSUFFIX="64" fi -DOCFILES="COPYING MANIFEST README.txt release_docs/RELEASE.txt \ - release_docs/HISTORY-1_8.txt" +DOCFILES="COPYING MANIFEST README.txt release_docs/RELEASE.txt release_docs/HISTORY-1_8.txt" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -82,7 +81,7 @@ install -m 0644 $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Remove unnecessary stuff -rm -f $PKG/usr/lib/*.settings +rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.settings find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -91,4 +90,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |