wok-next view R/receipt @ rev 20773
jack2: up (1.9.12)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 19:59:31 2018 +0300 (2018-06-06) |
parents | 28ea851f8c06 |
children | d958fec46c9f |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="R"
4 VERSION="3.4.2"
5 CATEGORY="office"
6 SHORT_DESC="Free software environment for statistical computing and graphics"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.r-project.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://cran.r-project.org/src/base/R-3/$TARBALL"
14 BUILD_DEPENDS="automake gfortran readline-dev xorg-imake icu-dev \
15 xorg-libX11-dev xorg-libICE-dev xorg-libXt-dev xorg-libXmu-dev cairo-dev \
16 pango-dev tcl-dev tk-dev zlib-dev pcre-dev curl-dev libjpeg-turbo-dev libpaper"
17 SPLIT="R-dev"
19 compile_rules() {
20 export R_BROWSER="midori"
21 export R_PDFVIEWER="epdfview"
22 unset DESTDIR
24 ./configure \
25 --enable-R-shlib \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make DESTDIR=$install install || return 1
31 sed -i 's|bash|sh|' \
32 $install/usr/bin/R \
33 $install/usr/lib/R/bin/R \
34 $install/usr/lib/R/bin/pager
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 R)
40 copy @std
41 DEPENDS="bzlib cairo gcc-lib-math glib icu libcurl libgfortran \
42 libgomp libicu libjpeg-turbo liblzma libpng16 ncurses pango pcre \
43 readline tcl tk xorg-libICE xorg-libSM xorg-libX11 xorg-libXext \
44 xorg-libXmu xorg-libXt zlib midori epdfview"
45 ;;
46 R-dev)
47 copy @dev
48 ;;
49 esac
50 }