Permalink
ff3a003 Apr 23, 2018
2 contributors

Users who have contributed to this file

@therealpadams @srenatus
57 lines (54 sloc) 1.16 KB
pkg_name=R
pkg_origin=core
pkg_version="3.5.0"
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_license=('GPL-2.0+')
pkg_source="https://cran.r-project.org/src/base/R-3/${pkg_name}-${pkg_version}.tar.gz"
pkg_shasum="fd1725535e21797d3d9fea8963d99be0ba4c3aecadcf081b43e261458b416870"
pkg_upstream_url="https://www.r-project.org"
pkg_description="R is a free software environment for statistical computing and graphics."
pkg_build_deps=(
core/coreutils
core/diffutils
core/file
core/make
core/perl
core/pkg-config
core/texinfo
)
pkg_deps=(
core/bzip2
core/cairo
core/curl
core/gcc
core/harfbuzz
core/icu
core/expat
core/fontconfig
core/freetype
core/glib
core/libjpeg-turbo
core/liberation-fonts-ttf
core/libpng
core/libtiff
core/pango
core/pcre
core/pixman
core/readline
core/xz
core/zlib
)
pkg_bin_dirs=(lib64/R/bin)
pkg_include_dirs=(lib64/R/include)
pkg_lib_dirs=(lib64/R/lib)
do_build() {
sed -i '/#include.*<cairo-xlib.h>/d' ./configure
./configure --prefix="${pkg_prefix}" \
--with-x=no \
--disable-java \
--enable-memory-profiling
make
}
do_check() {
make test
}