academic/sundials: Updated for version 2.7.0.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
R. S. Ananda Murthy 2016-11-17 12:43:48 +00:00 committed by Willy Sudiarto Raharjo
parent fe7e13846b
commit 5c0a466b6f
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 8 additions and 18 deletions

View file

@ -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

View file

@ -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

View file

@ -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=""