summaryrefslogtreecommitdiffstats
path: root/academic/suitesparse
diff options
context:
space:
mode:
Diffstat (limited to 'academic/suitesparse')
-rw-r--r--academic/suitesparse/README4
-rw-r--r--academic/suitesparse/suitesparse.SlackBuild9
-rw-r--r--academic/suitesparse/suitesparse.info6
3 files changed, 11 insertions, 8 deletions
diff --git a/academic/suitesparse/README b/academic/suitesparse/README
index 7eb56aa16e..a0a5eb5679 100644
--- a/academic/suitesparse/README
+++ b/academic/suitesparse/README
@@ -26,3 +26,7 @@ by default.
SlackBuilds.org also has all the parts of this suite as individual
builds - DO NOT try and install the individual parts and the suite;
pick one or the other.
+
+For Slackware 14.2, suitesparse's version is being held at 5.7.2.
+Later versions (5.8.n) are not compatible with 14.2 supplied version
+of mpfr (3.1.4).
diff --git a/academic/suitesparse/suitesparse.SlackBuild b/academic/suitesparse/suitesparse.SlackBuild
index 335456c32f..ea5d9248da 100644
--- a/academic/suitesparse/suitesparse.SlackBuild
+++ b/academic/suitesparse/suitesparse.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for suitesparse
-# Copyright 2017-2019 Christoph Willing, Brisbane Australia
+# Copyright 2017-2021 Christoph Willing, Brisbane Australia
# All rights reserved.
# Thanks to Pablo Santamaria for previous versions
#
@@ -25,7 +25,7 @@
PRGNAM=suitesparse
SRCNAM=SuiteSparse
-VERSION=${VERSION:-5.4.0}
+VERSION=${VERSION:-5.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -33,7 +33,6 @@ if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -64,7 +63,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -94,7 +93,7 @@ done
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-cp -a LICENSE.txt CONTRIBUTOR-LICENSE.txt README.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.txt CONTRIBUTOR-LICENSE.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/academic/suitesparse/suitesparse.info b/academic/suitesparse/suitesparse.info
index 9e33539498..d8b009880b 100644
--- a/academic/suitesparse/suitesparse.info
+++ b/academic/suitesparse/suitesparse.info
@@ -1,8 +1,8 @@
PRGNAM="suitesparse"
-VERSION="5.4.0"
+VERSION="5.7.2"
HOMEPAGE="http://faculty.cse.tamu.edu/davis/suitesparse.html"
-DOWNLOAD="http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-5.4.0.tar.gz"
-MD5SUM="4a6d4e74fc44c503f52996ae95cad03a"
+DOWNLOAD="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v5.7.2/SuiteSparse-5.7.2.tar.gz"
+MD5SUM="7dc408bd99f825ef75fca0dda708f95d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lapack OpenBLAS chrpath"