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>
This commit is contained in:
afhpayne 2022-04-15 13:42:35 -04:00 committed by Willy Sudiarto Raharjo
parent 765d1fce93
commit 928f01dc56
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 18 additions and 10 deletions

View file

@ -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

View file

@ -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"