wok view R/receipt @ rev 24534

updated faac and faac-dev (1.29.9.2 -> 1.30)
author Hans-G?nter Theisgen
date Wed Feb 23 11:28:45 2022 +0100 (2022-02-23)
parents a3b6dd3aac6f
children
line source
1 # SliTaz package receipt.
3 PACKAGE="R"
4 VERSION="4.1.2"
5 CATEGORY="office"
6 SHORT_DESC="Free software environment for statistical computing and graphics."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.r-project.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://cran.r-project.org/src/base/R-${VERSION%%.*}/$TARBALL"
14 DEPENDS="bzlib epdfview gcc-lib-math libgfortran libgomp liblzma
15 midori pcre2 readline"
16 BUILD_DEPENDS="bzip2-dev curl-dev gfortran liblzma-dev pcre2-dev readline-dev"
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/released on/!d;s|.*version ||;s| (.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export R_BROWSER="midori"
28 export R_PDFVIEWER="epdfview"
29 unset DESTDIR
31 # valid before 3.1.1
32 # patch -p 0 < $stuff/pcre.u
34 ./configure \
35 --enable-R-shlib \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install DESTDIR=$install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cook_copy_folders bin
45 cook_copy_folders lib
47 sed -i s'|bash|sh|' $fs/usr/bin/R
48 sed -i s'|bash|sh|' $fs/usr/lib/R/bin/R
49 sed -i s'|bash|sh|' $fs/usr/lib/R/bin/pager
50 }