summaryrefslogtreecommitdiff
path: root/academic
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
parent8e69c031b00fb893a4f31a1d32f526689160d57c (diff)
downloadslackbuilds-0008ce81ce41555f501979771b908b7140901180.tar.gz
academic/arpack-ng: Updated for version 3.2.0.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'academic')
-rw-r--r--academic/arpack-ng/README3
-rw-r--r--academic/arpack-ng/arpack-ng.SlackBuild15
-rw-r--r--academic/arpack-ng/arpack-ng.info8
3 files changed, 13 insertions, 13 deletions
diff --git a/academic/arpack-ng/README b/academic/arpack-ng/README
index 8c72ec2f8e..645bb57646 100644
--- a/academic/arpack-ng/README
+++ b/academic/arpack-ng/README
@@ -13,3 +13,6 @@ then the auto-detection will use the first implementation from this list that
it finds. If in doubt, choose the Netlib reference implementations; other
packages that require a BLAS or LAPACK implementation may not build if they
are not configured to detect/use alternate implementations.
+
+If the `make check` command fails, try switching to the Netlib reference
+implementations, or comment out that command at your own risk.
diff --git a/academic/arpack-ng/arpack-ng.SlackBuild b/academic/arpack-ng/arpack-ng.SlackBuild
index 7f20aef99c..5f9fe0a5a7 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
diff --git a/academic/arpack-ng/arpack-ng.info b/academic/arpack-ng/arpack-ng.info
index 4888e64d4d..c16e985d6b 100644
--- a/academic/arpack-ng/arpack-ng.info
+++ b/academic/arpack-ng/arpack-ng.info
@@ -1,8 +1,8 @@
PRGNAM="arpack-ng"
-VERSION="3.1.4"
-HOMEPAGE="http://forge.scilab.org/index.php/p/arpack-ng/"
-DOWNLOAD="http://forge.scilab.org/index.php/p/arpack-ng/downloads/get/arpack-ng_3.1.4.tar.gz"
-MD5SUM="af0c56f3aeb7e6e57ae46acdcb8b104b"
+VERSION="3.2.0"
+HOMEPAGE="https://github.com/opencollab/arpack-ng"
+DOWNLOAD="https://github.com/opencollab/arpack-ng/archive/3.2.0.tar.gz"
+MD5SUM="0ae8a0bb796370b06647d9e005c0f3ea"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="blas lapack"