Skip to content
Snippets Groups Projects
Commit 086e9561 authored by Jakub Jirutka's avatar Jakub Jirutka :flag_ua: Committed by Natanael Copa
Browse files

testing/R: enable most of the USE flags and add -dev dependencies

R users often plots graphs, so they need all these USE flags for
graphics stuff.
parent f40ed1a2
No related merge requests found
...@@ -3,15 +3,19 @@ ...@@ -3,15 +3,19 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz> # Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=R pkgname=R
pkgver=3.3.0 pkgver=3.3.0
pkgrel=2 pkgrel=3
pkgdesc="Language and environment for statistical computing" pkgdesc="Language and environment for statistical computing"
url="https://www.r-project.org" url="https://www.r-project.org"
arch="x86_64 x86" arch="x86_64 x86"
license="GPL-2 GPL-3 LGPL-2.1" license="GPL-2 GPL-3 LGPL-2.1"
depends="" depends=""
makedepends="bzip2-dev curl-dev>=7.28 gfortran lapack-dev pcre-dev>=8.10 perl depends_dev="gcc gfortran icu-dev lapack-dev libjpeg-turbo libpng-dev make
readline-dev xz-dev zlib-dev pcre-dev>=8.10 readline-dev xz-dev zlib-dev
" "
makedepends="$depends_dev bzip2-dev cairo-dev curl-dev>=7.28 libxmu-dev
openjdk8-jre-base pango-dev perl tiff-dev tk-dev
"
install="$pkgname.post-install"
subpackages=" subpackages="
$pkgname-mathlib $pkgname-mathlib
$pkgname-mathlib-dev:mathlib_dev $pkgname-mathlib-dev:mathlib_dev
...@@ -36,19 +40,19 @@ build() { ...@@ -36,19 +40,19 @@ build() {
rdocdir=/usr/share/doc/R \ rdocdir=/usr/share/doc/R \
rincludedir=/usr/include/R \ rincludedir=/usr/include/R \
rsharedir=/usr/share/R \ rsharedir=/usr/share/R \
--enable-R-shlib \
--disable-java \
--disable-nls \ --disable-nls \
--enable-R-shlib \
--enable-java \
--without-recommended-packages \
--with-blas \ --with-blas \
--with-cairo \
--with-ICU \
--with-jpeglib \
--with-lapack \ --with-lapack \
--without-tcltk \ --with-libpng \
--without-cairo \ --with-libtiff \
--without-libpng \ --with-tcltk \
--without-jpeglib \ --with-x \
--without-libtiff \
--without-recommended-packages \
--without-ICU \
--without-x \
|| return 1 || return 1
make || return 1 make || return 1
...@@ -74,7 +78,7 @@ package() { ...@@ -74,7 +78,7 @@ package() {
# Remove some useless files (COPYING is duplicated, it will be # Remove some useless files (COPYING is duplicated, it will be
# in -doc, don't worry). # in -doc, don't worry).
rm "$destdir"/etc/javaconf "$destdir"/COPYING "$destdir"/SVN-REVISION rm "$destdir"/COPYING "$destdir"/SVN-REVISION
mkdir -p "$pkgdir"/etc/R mkdir -p "$pkgdir"/etc/R
......
#!/bin/sh
cat <<EOF
*
* If you want to install R packages from CRAN that contains native extensions,
* then you must also install R-dev.
*
EOF
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment