wok view R/receipt @ rev 12112
linux-source: talk about get-linux-source
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 18:21:24 2012 +0100 (2012-03-12) |
parents | fbbc15b4cd16 |
children | 1e5a0f0c11cf |
line source
1 # SliTaz package receipt.
3 PACKAGE="R"
4 VERSION="2.14.1"
5 CATEGORY="office"
6 SHORT_DESC="Free software environment for statistical computing and graphics."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.r-project.org/"
10 WGET_URL="http://cran.cict.fr/src/base/R-2/$TARBALL"
12 DEPENDS="libgfortran readline bzlib libgomp midori epdfview"
13 BUILD_DEPENDS="gfortran readline-dev bzip2-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 export R_BROWSER="midori"
19 export R_PDFVIEWER="epdfview"
20 unset DESTDIR
21 cd $src
22 ./configure \
23 --enable-R-shlib \
24 --with-system-zlib \
25 --with-system-bzlib \
26 --with-system-pcre \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$install install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 sed -i s'/bash/sh/' $fs/usr/bin/R
38 sed -i s'/bash/sh/' $fs/usr/lib/R/bin/R
39 sed -i s'/bash/sh/' $fs/usr/lib/R/bin/pager
40 }