wok-6.x annotate R/receipt @ rev 22071
updated uemacs (20120715 -> 20141208)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Oct 25 16:15:35 2019 +0100 (2019-10-25) |
parents | 79308f4043b0 |
children | 7cb0d9d32bf3 |
rev | line source |
---|---|
pankso@11697 | 1 # SliTaz package receipt. |
pankso@11697 | 2 |
pankso@11697 | 3 PACKAGE="R" |
yuripourre@16914 | 4 VERSION="3.1.1" |
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" |
pankso@11697 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@11697 | 10 WEB_SITE="http://www.r-project.org/" |
yuripourre@16914 | 11 WGET_URL="http://cran.r-project.org/src/base/R-3/$TARBALL" |
pankso@11697 | 12 |
pascal@19969 | 13 DEPENDS="libgfortran readline bzlib libgomp midori epdfview pcre gcc-lib-math" |
yuripourre@16914 | 14 BUILD_DEPENDS="gfortran readline-dev bzip2-dev pcre-dev" |
pankso@11697 | 15 |
pankso@11697 | 16 # Rules to configure and make the package. |
pankso@11697 | 17 compile_rules() |
pankso@11697 | 18 { |
pankso@11697 | 19 export R_BROWSER="midori" |
pankso@11697 | 20 export R_PDFVIEWER="epdfview" |
pankso@11697 | 21 unset DESTDIR |
pascal@13824 | 22 patch -p 0 < $stuff/pcre.u |
al@19275 | 23 |
pankso@11697 | 24 ./configure \ |
pankso@11697 | 25 --enable-R-shlib \ |
pankso@11697 | 26 --with-system-zlib \ |
pankso@11697 | 27 --with-system-bzlib \ |
pankso@11697 | 28 --with-system-pcre \ |
pankso@11697 | 29 $CONFIGURE_ARGS && |
pankso@11697 | 30 make && make DESTDIR=$install install |
pankso@11697 | 31 } |
pankso@11697 | 32 |
pankso@11697 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11697 | 34 genpkg_rules() |
pankso@11697 | 35 { |
pankso@11697 | 36 mkdir -p $fs/usr |
pankso@11697 | 37 cp -a $install/usr/bin $fs/usr |
pankso@11697 | 38 cp -a $install/usr/lib $fs/usr |
pankso@11697 | 39 sed -i s'/bash/sh/' $fs/usr/bin/R |
pankso@11697 | 40 sed -i s'/bash/sh/' $fs/usr/lib/R/bin/R |
pankso@11697 | 41 sed -i s'/bash/sh/' $fs/usr/lib/R/bin/pager |
pankso@11697 | 42 } |