diff options
Diffstat (limited to 'academic/arpack-ng/arpack-ng.SlackBuild')
-rw-r--r-- | academic/arpack-ng/arpack-ng.SlackBuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/academic/arpack-ng/arpack-ng.SlackBuild b/academic/arpack-ng/arpack-ng.SlackBuild index 7f20aef99cbab..5f9fe0a5a7a8f 100644 --- a/academic/arpack-ng/arpack-ng.SlackBuild +++ b/academic/arpack-ng/arpack-ng.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for arpack-ng -# Copyright 2014 Kyle Guinn <elyk03@gmail.com>, USA +# Copyright 2014-2015 Kyle Guinn <elyk03@gmail.com>, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=arpack-ng -VERSION=${VERSION:-3.1.4} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.2.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -62,18 +62,13 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM\_$VERSION.tar.gz +tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go-w,a+rX-st . # Auto-detect OpenBLAS. cat $CWD/patches/ax_blas.m4 > m4/ax_blas.m4 - -# Do not install test binaries. -# http://forge.scilab.org/index.php/p/arpack-ng/issues/1348/ -# http://forge.scilab.org/index.php/p/arpack-ng/source/commit/e90e4f65c4ce043dbe002566392ba92594eaecce/ -sed -i 's/bin_PROGRAMS/check_PROGRAMS/' TESTS/Makefile.am autoreconf -vif CFLAGS="$SLKCFLAGS" \ @@ -95,6 +90,8 @@ make make check make install-strip DESTDIR=$PKG +find $PKG/usr/lib${LIBDIRSUFFIX} -name '*.la' -delete + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |