wok-6.x view R/receipt @ rev 17239
Up lxqt-*(0.8.0) lximage-qt (0.3.0)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Oct 18 17:59:10 2014 +0200 (2014-10-18) |
parents | c49c3c907f12 |
children | 45507bfb2b0d |
line source
1 # SliTaz package receipt.
3 PACKAGE="R"
4 VERSION="3.1.1"
5 CATEGORY="office"
6 SHORT_DESC="Free software environment for statistical computing and graphics."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.r-project.org/"
11 WGET_URL="http://cran.r-project.org/src/base/R-3/$TARBALL"
13 DEPENDS="libgfortran readline bzlib libgomp midori epdfview pcre"
14 BUILD_DEPENDS="gfortran readline-dev bzip2-dev pcre-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export R_BROWSER="midori"
20 export R_PDFVIEWER="epdfview"
21 unset DESTDIR
22 cd $src
23 patch -p 0 < $stuff/pcre.u
24 ./configure \
25 --enable-R-shlib \
26 --with-system-zlib \
27 --with-system-bzlib \
28 --with-system-pcre \
29 $CONFIGURE_ARGS &&
30 make && make DESTDIR=$install install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 sed -i s'/bash/sh/' $fs/usr/bin/R
40 sed -i s'/bash/sh/' $fs/usr/lib/R/bin/R
41 sed -i s'/bash/sh/' $fs/usr/lib/R/bin/pager
42 }