academic/R: Updated for version 3.3.3.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
melikamp 2017-03-09 12:20:16 +00:00 committed by David Spencer
parent 963feed8b7
commit 4d964b592e
2 changed files with 10 additions and 9 deletions

View file

@ -2,8 +2,8 @@
# SlackBuild script for R
# Copyright 2014 melikamp, Andrew Rowland. (Contributors are listed in
# order of first participation.)
# Copyright 2014-2017 melikamp, Andrew Rowland. (Contributors are
# listed in order of first participation.)
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -24,7 +24,7 @@
# <http://www.gnu.org/licenses/>.
PRGNAM=R
VERSION=${VERSION:-3.3.1}
VERSION=${VERSION:-3.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -41,7 +41,7 @@ fi
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -52,8 +52,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"
@ -96,6 +96,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
make install-tests DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View file

@ -1,8 +1,8 @@
PRGNAM="R"
VERSION="3.3.1"
VERSION="3.3.3"
HOMEPAGE="http://www.r-project.org/"
DOWNLOAD="http://ftp.osuosl.org/pub/cran/src/base/R-3/R-3.3.1.tar.gz"
MD5SUM="f50a659738b73036e2f5635adbd229c5"
DOWNLOAD="http://ftp.osuosl.org/pub/cran/src/base/R-3/R-3.3.3.tar.gz"
MD5SUM="0ac211ec15e813a24f8f4a5a634029a4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""