summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2016-11-17 12:43:48 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-19 07:31:28 +0700
commit5c0a466b6f37a414955b650d84df5317eab9ed19 (patch)
tree5d1d8f12c3e0b6b0a4c8820e802ab5805488d93a
parentfe7e13846b6e213b689c615c82cee629330ae346 (diff)
downloadslackbuilds-5c0a466b6f37a414955b650d84df5317eab9ed19.tar.gz
academic/sundials: Updated for version 2.7.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--academic/sundials/doinst.sh9
-rw-r--r--academic/sundials/sundials.SlackBuild9
-rw-r--r--academic/sundials/sundials.info8
3 files changed, 8 insertions, 18 deletions
diff --git a/academic/sundials/doinst.sh b/academic/sundials/doinst.sh
deleted file mode 100644
index 3e5691a052..0000000000
--- a/academic/sundials/doinst.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/academic/sundials/sundials.SlackBuild b/academic/sundials/sundials.SlackBuild
index 46375d2908..e9a66bdc92 100644
--- a/academic/sundials/sundials.SlackBuild
+++ b/academic/sundials/sundials.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sundials
-VERSION=${VERSION:-2.6.2}
+VERSION=${VERSION:-2.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -95,7 +95,6 @@ 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
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
diff --git a/academic/sundials/sundials.info b/academic/sundials/sundials.info
index 627f6d570b..24ddc39db5 100644
--- a/academic/sundials/sundials.info
+++ b/academic/sundials/sundials.info
@@ -1,8 +1,8 @@
PRGNAM="sundials"
-VERSION="2.6.2"
-HOMEPAGE="http://computation.llnl.gov/casc/sundials/main.html"
-DOWNLOAD="http://pkgs.fedoraproject.org/repo/extras/sundials/sundials-2.6.2.tar.gz/3deeb0ede9f514184c6bd83ecab77d95/sundials-2.6.2.tar.gz"
-MD5SUM="3deeb0ede9f514184c6bd83ecab77d95"
+VERSION="2.7.0"
+HOMEPAGE="http://computation.llnl.gov/projects/sundials"
+DOWNLOAD="http://computation.llnl.gov/projects/sundials/download/sundials-2.7.0.tar.gz"
+MD5SUM="c304631b9bc82877d7b0e9f4d4fd94d3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""