wok rev 24317

updated R (3.6.2 -> 4.1.2)
author Hans-G?nter Theisgen
date Tue Jan 25 13:50:24 2022 +0100 (2022-01-25)
parents 4ad45787855e
children a273d5a1ae50
files R/description.txt R/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/R/description.txt	Tue Jan 25 13:50:24 2022 +0100
     1.3 @@ -0,0 +1,2 @@
     1.4 +R is a free software environment for statistical computing and graphics.
     1.5 +It compiles and runs on a wide variety of UNIX platforms, Windows and MacOS.
     2.1 --- a/R/receipt	Tue Jan 25 09:41:30 2022 +0100
     2.2 +++ b/R/receipt	Tue Jan 25 13:50:24 2022 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="R"
     2.7 -VERSION="3.6.2"
     2.8 +VERSION="4.1.2"
     2.9  CATEGORY="office"
    2.10  SHORT_DESC="Free software environment for statistical computing and graphics."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 @@ -11,9 +11,9 @@
    2.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14  WGET_URL="https://cran.r-project.org/src/base/R-${VERSION%%.*}/$TARBALL"
    2.15  
    2.16 -DEPENDS="bzlib epdfview gcc-lib-math libgfortran libgomp liblzma
    2.17 -	midori pcre readline"
    2.18 -BUILD_DEPENDS="bzip2-dev curl-dev gfortran liblzma-dev pcre-dev readline-dev"
    2.19 +DEPENDS="bzlib epdfview gcc-lib-math libgfortran libgomp liblzma 
    2.20 +	midori pcre2 readline"
    2.21 +BUILD_DEPENDS="bzip2-dev curl-dev gfortran liblzma-dev pcre2-dev readline-dev"
    2.22  
    2.23  current_version()
    2.24  {
    2.25 @@ -35,18 +35,16 @@
    2.26  		--enable-R-shlib	\
    2.27  		$CONFIGURE_ARGS &&
    2.28  	make &&
    2.29 -	make DESTDIR=$install install
    2.30 +	make install DESTDIR=$install
    2.31  }
    2.32  
    2.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.34  genpkg_rules()
    2.35  {
    2.36 -	mkdir -p $fs/usr
    2.37 +	cook_copy_folders	bin
    2.38 +	cook_copy_folders	lib
    2.39  
    2.40 -	cp -a $install/usr/bin	$fs/usr
    2.41 -	cp -a $install/usr/lib	$fs/usr
    2.42 -
    2.43 -	sed -i s'|bash|sh|' $fs/usr/bin/R
    2.44 -	sed -i s'|bash|sh|' $fs/usr/lib/R/bin/R
    2.45 -	sed -i s'|bash|sh|' $fs/usr/lib/R/bin/pager
    2.46 +	sed -i s'|bash|sh|'	$fs/usr/bin/R
    2.47 +	sed -i s'|bash|sh|'	$fs/usr/lib/R/bin/R
    2.48 +	sed -i s'|bash|sh|'	$fs/usr/lib/R/bin/pager
    2.49  }