diff options
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 f8028e9e9f..f7f05cba34 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 |