From c041b0b0f0dc638b4c6d77c1ed0b953afffd6f1b Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 23 Dec 2014 17:53:05 +0100 Subject: [PATCH] New package: R-3.1.2 --- srcpkgs/R/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/R/template diff --git a/srcpkgs/R/template b/srcpkgs/R/template new file mode 100644 index 0000000000..21d944f574 --- /dev/null +++ b/srcpkgs/R/template @@ -0,0 +1,26 @@ +# Template file for 'R' +pkgname=R +version=3.1.2 +revision=1 +nocross=yes +build_style=gnu-configure +configure_args="--docdir=/usr/share/doc/R rdocdir=/usr/share/doc/R + --with-system-zlib --with-system-bzlib --with-system-pcre --with-system-xz + --with-lapack --with-blas + LIBnn=lib" +hostmakedepends="gcc-fortran pkg-config perl less" +makedepends="libgomp-devel readline-devel libXmu-devel libXt-devel + libpng-devel libjpeg-turbo-devel tiff-devel cairo-devel icu-devel + lapack-devel blas-devel zlib-devel bzip2-devel pcre-devel liblzma-devel" +depends="xdg-utils less" +short_desc="System for statistical computation and graphics" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="http://www.r-project.org/" +distfiles="http://cran.r-project.org/src/base/R-3/${pkgname}-${version}.tar.gz" +checksum=bcd150afcae0e02f6efb5f35a6ab72432be82e849ec52ce0bb89d8c342a8fa7a + +pre_configure() { + export R_BROWSER=/usr/bin/xdg-open + export R_PDFVIEWER=/usr/bin/xdg-open +}