wok annotate R/receipt @ rev 12990

python: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 06 09:57:30 2012 +0200 (2012-06-06)
parents fbbc15b4cd16
children 1e5a0f0c11cf
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"
pankso@11697 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@11697 9 WEB_SITE="http://www.r-project.org/"
pankso@11697 10 WGET_URL="http://cran.cict.fr/src/base/R-2/$TARBALL"
pankso@11697 11
pankso@11714 12 DEPENDS="libgfortran readline bzlib libgomp midori epdfview"
pankso@11697 13 BUILD_DEPENDS="gfortran readline-dev bzip2-dev"
pankso@11697 14
pankso@11697 15 # Rules to configure and make the package.
pankso@11697 16 compile_rules()
pankso@11697 17 {
pankso@11697 18 export R_BROWSER="midori"
pankso@11697 19 export R_PDFVIEWER="epdfview"
pankso@11697 20 unset DESTDIR
pankso@11697 21 cd $src
pankso@11697 22 ./configure \
pankso@11697 23 --enable-R-shlib \
pankso@11697 24 --with-system-zlib \
pankso@11697 25 --with-system-bzlib \
pankso@11697 26 --with-system-pcre \
pankso@11697 27 $CONFIGURE_ARGS &&
pankso@11697 28 make && make DESTDIR=$install install
pankso@11697 29 }
pankso@11697 30
pankso@11697 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@11697 32 genpkg_rules()
pankso@11697 33 {
pankso@11697 34 mkdir -p $fs/usr
pankso@11697 35 cp -a $install/usr/bin $fs/usr
pankso@11697 36 cp -a $install/usr/lib $fs/usr
pankso@11697 37 sed -i s'/bash/sh/' $fs/usr/bin/R
pankso@11697 38 sed -i s'/bash/sh/' $fs/usr/lib/R/bin/R
pankso@11697 39 sed -i s'/bash/sh/' $fs/usr/lib/R/bin/pager
pankso@11697 40 }