void-packages/srcpkgs/R/template
Christian Neukirchen 74bce26bc0 R: update to 3.3.1.
2016-06-22 14:22:26 +02:00

28 lines
991 B
Bash

# Template file for 'R'
pkgname=R
version=3.3.1
revision=1
nocross=yes
build_style=gnu-configure
configure_args="--docdir=/usr/share/doc/R rdocdir=/usr/share/doc/R
--with-lapack --with-blas --enable-R-shlib
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=3dc59ae5831f5380f83c169bac2103ad052efe0ecec4ffa74bde4d85a0fda9e2
shlib_provides="libR.so"
pre_configure() {
export R_BROWSER=/usr/bin/xdg-open
export R_PDFVIEWER=/usr/bin/xdg-open
export FFLAGS="$CFLAGS"
}