void-packages/srcpkgs/R/template

28 lines
966 B
Bash
Raw Normal View History

2014-12-23 17:53:05 +01:00
# Template file for 'R'
pkgname=R
2016-05-04 13:17:39 +02:00
version=3.3.0
2016-05-24 15:24:41 +02:00
revision=2
2014-12-23 17:53:05 +01:00
nocross=yes
build_style=gnu-configure
configure_args="--docdir=/usr/share/doc/R rdocdir=/usr/share/doc/R
2016-05-24 15:24:41 +02:00
--with-lapack --with-blas --enable-R-shlib
2014-12-23 17:53:05 +01:00
LIBnn=lib"
hostmakedepends="gcc-fortran pkg-config perl less"
makedepends="libgomp-devel readline-devel libXmu-devel libXt-devel
2015-11-29 09:30:46 +01:00
libpng-devel libjpeg-turbo-devel tiff-devel cairo-devel icu-devel
2015-04-17 13:10:55 +02:00
lapack-devel blas-devel zlib-devel bzip2-devel pcre-devel liblzma-devel
libcurl-devel"
2014-12-23 17:53:05 +01: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"
2016-05-04 13:17:39 +02:00
checksum=9256b154b1a5993d844bee7b1955cd49c99ad72cef03cce3cd1bdca1310311e4
2014-12-23 17:53:05 +01:00
pre_configure() {
export R_BROWSER=/usr/bin/xdg-open
export R_PDFVIEWER=/usr/bin/xdg-open
2016-05-04 13:17:39 +02:00
export FFLAGS="$CFLAGS"
2014-12-23 17:53:05 +01:00
}