wok-current annotate R/receipt @ rev 24218
updated perl-http-cookies (6.08 -> 6.10)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:37:13 2021 +0100 (2021-12-31) |
parents | 7cb0d9d32bf3 |
children | aeb61b86398a |
rev | line source |
---|---|
pankso@11697 | 1 # SliTaz package receipt. |
pankso@11697 | 2 |
pankso@11697 | 3 PACKAGE="R" |
Hans-G?nter@22460 | 4 VERSION="3.6.2" |
pankso@11697 | 5 CATEGORY="office" |
pankso@11697 | 6 SHORT_DESC="Free software environment for statistical computing and graphics." |
pankso@11697 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
Hans-G?nter@22460 | 9 WEB_SITE="https://www.r-project.org/" |
Hans-G?nter@22460 | 10 |
pankso@11697 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22460 | 12 WGET_URL="https://cran.r-project.org/src/base/R-${VERSION%%.*}/$TARBALL" |
pankso@11697 | 13 |
Hans-G?nter@22460 | 14 DEPENDS="bzlib epdfview gcc-lib-math libgfortran libgomp liblzma |
Hans-G?nter@22460 | 15 midori pcre readline" |
Hans-G?nter@22460 | 16 BUILD_DEPENDS="bzip2-dev curl-dev gfortran liblzma-dev pcre-dev readline-dev" |
pankso@11697 | 17 |
pascal@24093 | 18 current_version() |
pascal@24093 | 19 { |
pascal@24093 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24093 | 21 sed '/released on/!d;s|.*version ||;s| (.*||;q' |
pascal@24093 | 22 } |
pascal@24093 | 23 |
pankso@11697 | 24 # Rules to configure and make the package. |
pankso@11697 | 25 compile_rules() |
pankso@11697 | 26 { |
pankso@11697 | 27 export R_BROWSER="midori" |
pankso@11697 | 28 export R_PDFVIEWER="epdfview" |
pankso@11697 | 29 unset DESTDIR |
al@19275 | 30 |
Hans-G?nter@22460 | 31 # valid before 3.1.1 |
Hans-G?nter@22460 | 32 # patch -p 0 < $stuff/pcre.u |
Hans-G?nter@22460 | 33 |
Hans-G?nter@22460 | 34 ./configure \ |
Hans-G?nter@22460 | 35 --enable-R-shlib \ |
pankso@11697 | 36 $CONFIGURE_ARGS && |
Hans-G?nter@22460 | 37 make && |
Hans-G?nter@22460 | 38 make DESTDIR=$install install |
pankso@11697 | 39 } |
pankso@11697 | 40 |
pankso@11697 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11697 | 42 genpkg_rules() |
pankso@11697 | 43 { |
pankso@11697 | 44 mkdir -p $fs/usr |
Hans-G?nter@22460 | 45 |
Hans-G?nter@22460 | 46 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22460 | 47 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@22460 | 48 |
Hans-G?nter@22460 | 49 sed -i s'|bash|sh|' $fs/usr/bin/R |
Hans-G?nter@22460 | 50 sed -i s'|bash|sh|' $fs/usr/lib/R/bin/R |
Hans-G?nter@22460 | 51 sed -i s'|bash|sh|' $fs/usr/lib/R/bin/pager |
pankso@11697 | 52 } |