wok-next view R/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | f5bfda4cdfe9 |
children | 835b3b8ce6ac |
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 make &&
28 make DESTDIR=$install install || return 1
30 sed -i 's|bash|sh|' \
31 $install/usr/bin/R \
32 $install/usr/lib/R/bin/R \
33 $install/usr/lib/R/bin/pager
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 R)
39 copy @std
40 DEPENDS="bzlib cairo gcc-lib-math glib icu libcurl libgfortran \
41 libgomp libicu libjpeg-turbo liblzma libpng16 ncurses pango pcre \
42 readline tcl tk xorg-libICE xorg-libSM xorg-libX11 xorg-libXext \
43 xorg-libXmu xorg-libXt zlib midori epdfview"
44 ;;
45 R-dev)
46 copy @dev
47 ;;
48 esac
49 }