wok-next annotate R/receipt @ rev 19975
qt4-base: add CXXFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 17 21:17:06 2017 +0200 (2017-10-17) |
parents | 11b5e93cb5f2 |
children | 28ea851f8c06 |
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 |
yuripourre@16914 | 13 DEPENDS="libgfortran readline bzlib libgomp midori epdfview pcre" |
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 |
al@19275 | 22 |
pankso@11697 | 23 ./configure \ |
pankso@11697 | 24 --enable-R-shlib \ |
pankso@11697 | 25 --with-system-zlib \ |
pankso@11697 | 26 --with-system-bzlib \ |
pankso@11697 | 27 --with-system-pcre \ |
pankso@11697 | 28 $CONFIGURE_ARGS && |
pankso@11697 | 29 make && make DESTDIR=$install install |
pankso@11697 | 30 } |
pankso@11697 | 31 |
pankso@11697 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11697 | 33 genpkg_rules() |
pankso@11697 | 34 { |
pankso@11697 | 35 mkdir -p $fs/usr |
pankso@11697 | 36 cp -a $install/usr/bin $fs/usr |
pankso@11697 | 37 cp -a $install/usr/lib $fs/usr |
pankso@11697 | 38 sed -i s'/bash/sh/' $fs/usr/bin/R |
pankso@11697 | 39 sed -i s'/bash/sh/' $fs/usr/lib/R/bin/R |
pankso@11697 | 40 sed -i s'/bash/sh/' $fs/usr/lib/R/bin/pager |
pankso@11697 | 41 } |