# HG changeset patch # User Christophe Lincoln # Date 1329584453 -3600 # Node ID fbbc15b4cd16f0c6b976fb62fac53f2ed7496047 # Parent c548d57fdce0107c0dd05b2497128af808d941f7 Add R language diff -r c548d57fdce0 -r fbbc15b4cd16 R/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/R/receipt Sat Feb 18 18:00:53 2012 +0100 @@ -0,0 +1,40 @@ +# SliTaz package receipt. + +PACKAGE="R" +VERSION="2.14.1" +CATEGORY="office" +SHORT_DESC="Free software environment for statistical computing and graphics." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.r-project.org/" +WGET_URL="http://cran.cict.fr/src/base/R-2/$TARBALL" + +DEPENDS="libgfortran readline bzlib midori epdfview" +BUILD_DEPENDS="gfortran readline-dev bzip2-dev" + +# Rules to configure and make the package. +compile_rules() +{ + export R_BROWSER="midori" + export R_PDFVIEWER="epdfview" + unset DESTDIR + cd $src + ./configure \ + --enable-R-shlib \ + --with-system-zlib \ + --with-system-bzlib \ + --with-system-pcre \ + $CONFIGURE_ARGS && + make && make DESTDIR=$install install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib $fs/usr + sed -i s'/bash/sh/' $fs/usr/bin/R + sed -i s'/bash/sh/' $fs/usr/lib/R/bin/R + sed -i s'/bash/sh/' $fs/usr/lib/R/bin/pager +} diff -r c548d57fdce0 -r fbbc15b4cd16 R/stuff/R.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/R/stuff/R.desktop Sat Feb 18 18:00:53 2012 +0100 @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=R +Comment= programming language for statistical computing +Exec=terminal -e R +Icon=R.png +Type=Application +Categories=Development; diff -r c548d57fdce0 -r fbbc15b4cd16 R/stuff/R.png Binary file R/stuff/R.png has changed