wok-next rev 11697
Add R language
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 18 18:00:53 2012 +0100 (2012-02-18) |
parents | c548d57fdce0 |
children | d1b57a67e58d |
files | R/receipt R/stuff/R.desktop R/stuff/R.png |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/R/receipt Sat Feb 18 18:00:53 2012 +0100 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="R" 1.7 +VERSION="2.14.1" 1.8 +CATEGORY="office" 1.9 +SHORT_DESC="Free software environment for statistical computing and graphics." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.r-project.org/" 1.13 +WGET_URL="http://cran.cict.fr/src/base/R-2/$TARBALL" 1.14 + 1.15 +DEPENDS="libgfortran readline bzlib midori epdfview" 1.16 +BUILD_DEPENDS="gfortran readline-dev bzip2-dev" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + export R_BROWSER="midori" 1.22 + export R_PDFVIEWER="epdfview" 1.23 + unset DESTDIR 1.24 + cd $src 1.25 + ./configure \ 1.26 + --enable-R-shlib \ 1.27 + --with-system-zlib \ 1.28 + --with-system-bzlib \ 1.29 + --with-system-pcre \ 1.30 + $CONFIGURE_ARGS && 1.31 + make && make DESTDIR=$install install 1.32 +} 1.33 + 1.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 +genpkg_rules() 1.36 +{ 1.37 + mkdir -p $fs/usr 1.38 + cp -a $install/usr/bin $fs/usr 1.39 + cp -a $install/usr/lib $fs/usr 1.40 + sed -i s'/bash/sh/' $fs/usr/bin/R 1.41 + sed -i s'/bash/sh/' $fs/usr/lib/R/bin/R 1.42 + sed -i s'/bash/sh/' $fs/usr/lib/R/bin/pager 1.43 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/R/stuff/R.desktop Sat Feb 18 18:00:53 2012 +0100 2.3 @@ -0,0 +1,8 @@ 2.4 +[Desktop Entry] 2.5 +Encoding=UTF-8 2.6 +Name=R 2.7 +Comment= programming language for statistical computing 2.8 +Exec=terminal -e R 2.9 +Icon=R.png 2.10 +Type=Application 2.11 +Categories=Development;
3.1 Binary file R/stuff/R.png has changed