wok-next view R/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d958fec46c9f |
children | 5669e8b3be70 |
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.r-project.org/"
10 REPOLOGY="r"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://cran.r-project.org/src/base/R-3/$TARBALL"
15 BUILD_DEPENDS="automake gfortran readline-dev xorg-imake icu-dev \
16 xorg-libX11-dev xorg-libICE-dev xorg-libXt-dev xorg-libXmu-dev cairo-dev \
17 pango-dev tcl-dev tk-dev zlib-dev pcre-dev curl-dev libjpeg-turbo-dev libpaper"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 export R_BROWSER="midori"
22 export R_PDFVIEWER="epdfview"
23 unset DESTDIR
25 ./configure \
26 --enable-R-shlib \
27 $CONFIGURE_ARGS &&
28 fix libtool &&
29 make &&
30 make DESTDIR=$install install || return 1
32 sed -i 's|bash|sh|' \
33 $install/usr/bin/R \
34 $install/usr/lib/R/bin/R \
35 $install/usr/lib/R/bin/pager
36 }
38 genpkg_rules() {
39 case $PACKAGE in
40 R)
41 copy @std
42 DEPENDS="bzlib cairo gcc-lib-math glib icu libcurl libgfortran \
43 libgomp libicu libjpeg-turbo liblzma libpng16 ncurses pango pcre \
44 readline tcl tk xorg-libICE xorg-libSM xorg-libX11 xorg-libXext \
45 xorg-libXmu xorg-libXt zlib midori epdfview"
46 ;;
47 R-dev)
48 copy @dev
49 ;;
50 esac
51 }