diff options
author | melikamp <melikamp@melikamp.net> | 2017-03-09 12:20:16 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-09 12:20:16 +0000 |
commit | 4d964b592ecd8d1756ef559ed7f0f205eaf57b3a (patch) | |
tree | 08874365a24015b2090bcdae780bd8576a1557fd /academic/R/R.SlackBuild | |
parent | 963feed8b72c5b7171a49a5f2e15de48e303e83d (diff) |
academic/R: Updated for version 3.3.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/R/R.SlackBuild')
-rw-r--r-- | academic/R/R.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/academic/R/R.SlackBuild b/academic/R/R.SlackBuild index f8028e9e9f07d..f7f05cba344df 100644 --- a/academic/R/R.SlackBuild +++ b/academic/R/R.SlackBuild @@ -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 |