aboutsummaryrefslogtreecommitdiff
path: root/academic/arpack-ng/arpack-ng.SlackBuild
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2015-06-09 00:18:58 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-14 07:55:31 +0700
commit0008ce81ce41555f501979771b908b7140901180 (patch)
tree29ac95fe9d4363324275d6dd4c45f4566b911656 /academic/arpack-ng/arpack-ng.SlackBuild
parent8e69c031b00fb893a4f31a1d32f526689160d57c (diff)
academic/arpack-ng: Updated for version 3.2.0.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'academic/arpack-ng/arpack-ng.SlackBuild')
-rw-r--r--academic/arpack-ng/arpack-ng.SlackBuild15
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