wok-next view R/receipt @ rev 21379
updated mspdebug (0.17 -> 0.25)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 16:31:49 2020 +0100 (2020-04-16) |
parents | e19ff076dc63 |
children |
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 COOKOPTS="force-arch" # different .h
17 BUILD_DEPENDS="automake gfortran readline-dev imake icu-dev \
18 libx11-dev libice-dev libxt-dev libxmu-dev cairo-dev \
19 pango-dev tcl-dev tk-dev zlib-dev pcre-dev curl-dev libjpeg-turbo-dev libpaper"
20 SPLIT="$PACKAGE-dev"
22 compile_rules() {
23 export R_BROWSER="midori"
24 export R_PDFVIEWER="epdfview"
25 unset DESTDIR
27 ./configure \
28 --enable-R-shlib \
29 $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make DESTDIR=$install install || return 1
34 sed -i 's|bash|sh|' \
35 $install/usr/bin/R \
36 $install/usr/lib/R/bin/R \
37 $install/usr/lib/R/bin/pager
38 }
40 genpkg_rules() {
41 case $PACKAGE in
42 R)
43 copy @std
44 DEPENDS="libbzip2 libcairo gcc-lib-math glib icu libcurl libgfortran \
45 libgomp libicu libjpeg-turbo liblzma libpng ncurses pango pcre \
46 readline tcl tk libice libsm libx11 libxext \
47 libxmu libxt zlib midori epdfview"
48 ;;
49 R-dev)
50 copy @dev
51 ;;
52 esac
53 }