summaryrefslogtreecommitdiff
path: root/academic/R
diff options
context:
space:
mode:
authorafhpayne <github@komputermatrix.com>2022-02-08 13:37:30 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-09 16:18:00 +0700
commit06c9f39d3e0e10404648f58b2afc04914861d833 (patch)
treefe95650b73ef90303e6df312b5ff6ed895c0772b /academic/R
parentb7fc02a960928fbe66b8862ab8d98986a15a58a5 (diff)
downloadslackbuilds-06c9f39d3e0e10404648f58b2afc04914861d833.tar.gz
academic/R: Updated for version 4.1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/R')
-rw-r--r--academic/R/R.SlackBuild20
-rw-r--r--academic/R/R.info12
-rw-r--r--academic/R/README24
-rw-r--r--academic/R/slack-desc10
4 files changed, 24 insertions, 42 deletions
diff --git a/academic/R/R.SlackBuild b/academic/R/R.SlackBuild
index a7c14b12ae..69d417c0c6 100644
--- a/academic/R/R.SlackBuild
+++ b/academic/R/R.SlackBuild
@@ -2,7 +2,7 @@
# SlackBuild script for R
-# Copyright 2019-2020 Andrew Payne <phalange@komputermatrix.com>
+# Copyright 2019-2022 Andrew Payne <phalange@komputermatrix.com>
# Copyright 2014-2017 melikamp, Andrew Rowland
# This program is free software: you can redistribute it and/or modify
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=R
-VERSION=${VERSION:-4.0.0}
+VERSION=${VERSION:-4.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -62,18 +62,10 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-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=""
+# Abort build if architecture is not 64-bit.
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH is not supported."
+ exit 1
fi
set -e
diff --git a/academic/R/R.info b/academic/R/R.info
index e06bdf1195..e8d1b5df61 100644
--- a/academic/R/R.info
+++ b/academic/R/R.info
@@ -1,10 +1,10 @@
PRGNAM="R"
-VERSION="4.0.0"
-HOMEPAGE="http://www.r-project.org/"
-DOWNLOAD="https://cran.r-project.org/src/base/R-4/R-4.0.0.tar.gz"
-MD5SUM="48c487c68112cb3191f3015c6277a50b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
+VERSION="4.1.2"
+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"
REQUIRES=""
MAINTAINER="Andrew Payne"
EMAIL="phalange@komputermatrix.com"
diff --git a/academic/R/README b/academic/R/README
index cdd9f7dbd6..0ebd1faa48 100644
--- a/academic/R/README
+++ b/academic/R/README
@@ -1,20 +1,10 @@
-R is an integrated suite of software facilities for data manipulation,
-calculation and graphical display. It includes
-
-* an effective data handling and storage facility,
-
-* a suite of operators for calculations on arrays, in particular
-matrices,
-
-* a large, coherent, integrated collection of intermediate tools for
-data analysis,
-
-* graphical facilities for data analysis and display either on-screen
-or on hardcopy, and
-
-* a well-developed, simple and effective programming language which
-includes conditionals, loops, user-defined recursive functions and
-input and output facilities.
+R is a language and environment for statistical computing and
+graphics. It is a GNU project which is similar to the S language and
+environment which was developed at Bell Laboratories (formerly AT&T,
+now Lucent Technologies) by John Chambers and colleagues. R can be
+considered as a different implementation of S. There are some
+important differences, but much code written for S runs unaltered
+under R.
Notes:
diff --git a/academic/R/slack-desc b/academic/R/slack-desc
index f6e2acfb82..bbc419bba3 100644
--- a/academic/R/slack-desc
+++ b/academic/R/slack-desc
@@ -9,11 +9,11 @@
R: R (language and environment for statistical computing)
R:
R: R is a language and environment for statistical computing and
-R: graphics. It is a GNU project which is similar to the S language
-R: and environment which was developed at Bell Laboratories
-R: by John Chambers and colleagues. R can be considered as a
-R: different implementation of S. There are some important
-R: differences, but much code written for S runs unaltered under R.
+R: graphics. It is a GNU project which is similar to the S language and
+R: environment which was developed at Bell Laboratories (formerly AT&T,
+R: now Lucent Technologies) by John Chambers and colleagues.
+R:
+R:
R:
R: Homepage: https://www.r-project.org/
R: