void-packages/srcpkgs/R/template

28 lines
1,000 B
Bash
Raw Normal View History

2014-12-23 16:53:05 +00:00
# Template file for 'R'
pkgname=R
2015-06-20 17:20:03 +00:00
version=3.2.1
2014-12-23 16:53:05 +00:00
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
2015-04-17 11:10:55 +00:00
lapack-devel blas-devel zlib-devel bzip2-devel pcre-devel liblzma-devel
libcurl-devel"
2014-12-23 16:53:05 +00:00
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"
2015-06-20 17:20:03 +00:00
checksum=d59dbc3f04f4604a5cf0fb210b8ea703ef2438b3ee65fd5ab536ec5234f4c982
2014-12-23 16:53:05 +00:00
pre_configure() {
export R_BROWSER=/usr/bin/xdg-open
export R_PDFVIEWER=/usr/bin/xdg-open
}