wok annotate R/receipt @ rev 16133

ARM: add pango (still trying to cross GTK)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 25 22:54:48 2014 +0100 (2014-03-25)
parents 1e5a0f0c11cf
children c49c3c907f12
rev   line source
pankso@11697 1 # SliTaz package receipt.
pankso@11697 2
pankso@11697 3 PACKAGE="R"
pankso@11697 4 VERSION="2.14.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/"
pankso@11697 11 WGET_URL="http://cran.cict.fr/src/base/R-2/$TARBALL"
pankso@11697 12
pankso@11714 13 DEPENDS="libgfortran readline bzlib libgomp midori epdfview"
pankso@11697 14 BUILD_DEPENDS="gfortran readline-dev bzip2-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
pankso@11697 22 cd $src
pascal@13824 23 patch -p 0 < $stuff/pcre.u
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 }