summaryrefslogtreecommitdiff
path: root/academic/R
diff options
context:
space:
mode:
authorafhpayne <github@komputermatrix.com>2022-04-15 13:42:35 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-16 12:12:41 +0700
commit928f01dc56d9c73cb39adef97706e3a8c10484cb (patch)
tree56f90e11f8622403ec75df95f1c0a014ba4943d6 /academic/R
parent765d1fce9354182e6c45e1def1e29aa82ed3e419 (diff)
downloadslackbuilds-928f01dc56d9c73cb39adef97706e3a8c10484cb.tar.gz
academic/R: Updated for version 4.1.3.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/R')
-rw-r--r--academic/R/R.SlackBuild18
-rw-r--r--academic/R/R.info10
2 files changed, 18 insertions, 10 deletions
diff --git a/academic/R/R.SlackBuild b/academic/R/R.SlackBuild
index 69d417c0c6..4b39db3d80 100644
--- a/academic/R/R.SlackBuild
+++ b/academic/R/R.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=R
-VERSION=${VERSION:-4.1.2}
+VERSION=${VERSION:-4.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -62,10 +62,18 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# Abort build if architecture is not 64-bit.
-if [ "$ARCH" != "x86_64" ]; then
- echo "$ARCH is not supported."
- exit 1
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
fi
set -e
diff --git a/academic/R/R.info b/academic/R/R.info
index e8d1b5df61..ef83594ebe 100644
--- a/academic/R/R.info
+++ b/academic/R/R.info
@@ -1,10 +1,10 @@
PRGNAM="R"
-VERSION="4.1.2"
+VERSION="4.1.3"
HOMEPAGE="https://www.r-project.org/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://cran.r-project.org/src/base/R-4/R-4.1.2.tar.gz"
-MD5SUM_x86_64="6e28db9d02c6d3dae51a149b8e261ab1"
+DOWNLOAD="https://cran.r-project.org/src/base/R-4/R-4.1.3.tar.gz"
+MD5SUM="409bc782b1a42c8247712f6446d7d640"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Andrew Payne"
EMAIL="phalange@komputermatrix.com"