aboutsummaryrefslogtreecommitdiff
path: root/academic/sundials
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2015-12-08 23:46:38 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-08 23:46:38 +0700
commitca37b58ef6802177a0197b66c580ca2abef29629 (patch)
tree3ea439e599890768d54406e6283b8f10e89085ef /academic/sundials
parent463222051385f5cda04b5db1a6d9deecf37d3d0f (diff)
academic/sundials: Updated for version 2.6.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/sundials')
-rw-r--r--academic/sundials/sundials.SlackBuild23
-rw-r--r--academic/sundials/sundials.info6
2 files changed, 9 insertions, 20 deletions
diff --git a/academic/sundials/sundials.SlackBuild b/academic/sundials/sundials.SlackBuild
index 669d3917dbf5c..f3658e990a434 100644
--- a/academic/sundials/sundials.SlackBuild
+++ b/academic/sundials/sundials.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sundials
-VERSION=${VERSION:-2.5.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.6.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -71,21 +71,9 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cd build
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-../configure \
- --prefix=$PKG/usr \
- --libdir=$PKG/usr/lib${LIBDIRSUFFIX} \
- --build=$ARCH-slackware-linux \
- F77=gfortran \
- --disable-mpi \
- --with-cflags=-fPIC \
- --enable-shared \
- --enable-static=no
-
+cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=BOOL:ON "../"
make
-make install
+make DESTDIR="$PKG/" install
cd ..
@@ -93,8 +81,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README INSTALL_NOTES LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README INSTALL_GUIDE.pdf LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mv $PKG/usr/examples $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/academic/sundials/sundials.info b/academic/sundials/sundials.info
index 008d08f6d5e17..627f6d570b3d1 100644
--- a/academic/sundials/sundials.info
+++ b/academic/sundials/sundials.info
@@ -1,8 +1,8 @@
PRGNAM="sundials"
-VERSION="2.5.0"
+VERSION="2.6.2"
HOMEPAGE="http://computation.llnl.gov/casc/sundials/main.html"
-DOWNLOAD="http://pkgs.fedoraproject.org/repo/pkgs/sundials/sundials-2.5.0.tar.gz/aba8b56eec600de3109cfb967aa3ba0f/sundials-2.5.0.tar.gz"
-MD5SUM="aba8b56eec600de3109cfb967aa3ba0f"
+DOWNLOAD="http://pkgs.fedoraproject.org/repo/extras/sundials/sundials-2.6.2.tar.gz/3deeb0ede9f514184c6bd83ecab77d95/sundials-2.6.2.tar.gz"
+MD5SUM="3deeb0ede9f514184c6bd83ecab77d95"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""