wok annotate R/receipt @ rev 17007

pulseaudio: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 12 15:37:17 2014 +0200 (2014-08-12)
parents c49c3c907f12
children 45507bfb2b0d
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
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 }