aboutsummaryrefslogtreecommitdiff
path: root/libraries/CXSparse/CXSparse.SlackBuild
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2011-06-17 21:58:53 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-06-19 23:17:04 -0500
commit6600559a549e18085b037149531f717e869aff71 (patch)
tree16af34d10d3f41c25d408acd2ff205555485858f /libraries/CXSparse/CXSparse.SlackBuild
parentc376c25b968111b41827e287377dfd139800a9f8 (diff)
libraries/CXSparse: Updated for version 2.2.5.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/CXSparse/CXSparse.SlackBuild')
-rw-r--r--libraries/CXSparse/CXSparse.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/libraries/CXSparse/CXSparse.SlackBuild b/libraries/CXSparse/CXSparse.SlackBuild
index 0395eecec515a..65b4fd8f58d71 100644
--- a/libraries/CXSparse/CXSparse.SlackBuild
+++ b/libraries/CXSparse/CXSparse.SlackBuild
@@ -4,7 +4,7 @@
# Written by Kyle Guinn <elyk03@gmail.com>
PRGNAM=CXSparse
-VERSION=${VERSION:-2.2.4}
+VERSION=${VERSION:-2.2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,6 +37,9 @@ else
LIBDIRSUFFIX=""
fi
+# Recommended by SuiteSparse
+SLKCFLAGS="$SLKCFLAGS -fexceptions -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE"
+
set -e
rm -rf $PKG
@@ -52,14 +55,16 @@ patch -p1 < $CWD/autotoolize.diff
autoreconf -vif
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-shared \
+ --disable-static \
--build=$ARCH-slackware-linux
make