summaryrefslogtreecommitdiff
path: root/libraries/CSparse/CSparse.SlackBuild
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2011-05-31 21:49:31 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-06-13 01:31:21 -0400
commit4f98c71e040464177b6d8e6152da0a06e3eef924 (patch)
treea3cef21e72fa6e544668a16bca1ea9e7ac3500dc /libraries/CSparse/CSparse.SlackBuild
parentcece546129c2819a463f7d38dac21ed3bc1586cf (diff)
downloadslackbuilds-4f98c71e040464177b6d8e6152da0a06e3eef924.tar.gz
libraries/CSparse: Updated for version 2.2.5.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/CSparse/CSparse.SlackBuild')
-rw-r--r--libraries/CSparse/CSparse.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/libraries/CSparse/CSparse.SlackBuild b/libraries/CSparse/CSparse.SlackBuild
index 3a8347398a..dca25908bb 100644
--- a/libraries/CSparse/CSparse.SlackBuild
+++ b/libraries/CSparse/CSparse.SlackBuild
@@ -4,7 +4,7 @@
# Written by Kyle Guinn <elyk03@gmail.com>
PRGNAM=CSparse
-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