summaryrefslogtreecommitdiff
path: root/user/r
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-23 07:20:58 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-23 18:38:08 +0000
commitefc32c5cb99357a2d5552489cee5b37b6872e9d9 (patch)
tree3b76f6cdf322591a3004dcd6b62756dadb66d4be /user/r
parent43c142d94bfe406bfe2fa98e0aa4a7d9a88c444e (diff)
downloadpackages-efc32c5cb99357a2d5552489cee5b37b6872e9d9.tar.gz
packages-efc32c5cb99357a2d5552489cee5b37b6872e9d9.tar.bz2
packages-efc32c5cb99357a2d5552489cee5b37b6872e9d9.tar.xz
packages-efc32c5cb99357a2d5552489cee5b37b6872e9d9.zip
user/r: new package
Diffstat (limited to 'user/r')
-rw-r--r--user/r/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/user/r/APKBUILD b/user/r/APKBUILD
new file mode 100644
index 000000000..e397a1598
--- /dev/null
+++ b/user/r/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=r
+pkgver=3.5.1
+pkgrel=0
+pkgdesc="Environment for statistical computing and graphics"
+url="https://www.r-project.org/"
+arch="all"
+options="!check" # 20.482886 != 20.482887
+license="GPL-2.0-only"
+depends="cmd:which"
+makedepends="byacc bzip2-dev cairo-dev curl-dev gfortran icu-dev libice-dev
+ libtirpc-dev libx11-dev libxt-dev pango-dev pcre-dev pcre2-dev xz-dev
+ zlib-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://rweb.crmda.ku.edu/cran/src/base/R-3/R-$pkgver.tar.gz"
+builddir="$srcdir/R-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --docdir=/usr/share/doc/R-$pkgver \
+ --localstatedir=/var \
+ --with-readline=no \
+ --enable-R-shlib
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="382cc6e200469dd168799948edcf3a0b869d7ef3b3176fdfc60752f3f37e6ba356323c47d8815a4d9ab6ad3a21cd045d26ef5e75107c8685328e0ffcfd172f7f R-3.5.1.tar.gz"