academic/arpack-ng: Updated for version 3.2.0.

Signed-off-by: Kyle Guinn <elyk03@gmail.com>
This commit is contained in:
Kyle Guinn 2015-06-09 00:18:58 -05:00 committed by Willy Sudiarto Raharjo
parent 8e69c031b0
commit 0008ce81ce
3 changed files with 13 additions and 13 deletions

View file

@ -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.

View file

@ -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

View file

@ -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"