wok annotate R/receipt @ rev 24037
created recipe for xorg-libxshmfence 1.3
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 13 06:48:06 2021 +0100 (2021-04-13) |
parents | 842878ded11f |
children | a3b6dd3aac6f |
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 |
pankso@11697 | 18 # Rules to configure and make the package. |
pankso@11697 | 19 compile_rules() |
pankso@11697 | 20 { |
pankso@11697 | 21 export R_BROWSER="midori" |
pankso@11697 | 22 export R_PDFVIEWER="epdfview" |
pankso@11697 | 23 unset DESTDIR |
al@19275 | 24 |
Hans-G?nter@22460 | 25 # valid before 3.1.1 |
Hans-G?nter@22460 | 26 # patch -p 0 < $stuff/pcre.u |
Hans-G?nter@22460 | 27 |
Hans-G?nter@22460 | 28 ./configure \ |
Hans-G?nter@22460 | 29 --enable-R-shlib \ |
pankso@11697 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@22460 | 31 make && |
Hans-G?nter@22460 | 32 make DESTDIR=$install install |
pankso@11697 | 33 } |
pankso@11697 | 34 |
pankso@11697 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11697 | 36 genpkg_rules() |
pankso@11697 | 37 { |
pankso@11697 | 38 mkdir -p $fs/usr |
Hans-G?nter@22460 | 39 |
Hans-G?nter@22460 | 40 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22460 | 41 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@22460 | 42 |
Hans-G?nter@22460 | 43 sed -i s'|bash|sh|' $fs/usr/bin/R |
Hans-G?nter@22460 | 44 sed -i s'|bash|sh|' $fs/usr/lib/R/bin/R |
Hans-G?nter@22460 | 45 sed -i s'|bash|sh|' $fs/usr/lib/R/bin/pager |
pankso@11697 | 46 } |