void-packages/srcpkgs/R/template
Christian Neukirchen f0ee764ac9 R: update to 3.2.4.
2016-03-11 13:43:52 +01:00

28 lines
1,010 B
Bash

# Template file for 'R'
pkgname=R
version=3.2.4
revision=1
nocross=yes
nopie=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
libcurl-devel"
depends="xdg-utils less"
short_desc="System for statistical computation and graphics"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://www.r-project.org/"
distfiles="http://cran.r-project.org/src/base/R-3/${pkgname}-${version}.tar.gz"
checksum=bafd405fe9c2fe3bbe47a8a7730ad120f03b7df9fb0f61674fca19cf061dd350
pre_configure() {
export R_BROWSER=/usr/bin/xdg-open
export R_PDFVIEWER=/usr/bin/xdg-open
}