wok-current diff R/receipt @ 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 a3b6dd3aac6f
children
line diff
     1.1 --- a/R/receipt	Tue Jul 27 16:57:54 2021 +0000
     1.2 +++ b/R/receipt	Tue Jan 25 13:50:24 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="R"
     1.7 -VERSION="3.6.2"
     1.8 +VERSION="4.1.2"
     1.9  CATEGORY="office"
    1.10  SHORT_DESC="Free software environment for statistical computing and graphics."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -11,9 +11,9 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="https://cran.r-project.org/src/base/R-${VERSION%%.*}/$TARBALL"
    1.15  
    1.16 -DEPENDS="bzlib epdfview gcc-lib-math libgfortran libgomp liblzma
    1.17 -	midori pcre readline"
    1.18 -BUILD_DEPENDS="bzip2-dev curl-dev gfortran liblzma-dev pcre-dev readline-dev"
    1.19 +DEPENDS="bzlib epdfview gcc-lib-math libgfortran libgomp liblzma 
    1.20 +	midori pcre2 readline"
    1.21 +BUILD_DEPENDS="bzip2-dev curl-dev gfortran liblzma-dev pcre2-dev readline-dev"
    1.22  
    1.23  current_version()
    1.24  {
    1.25 @@ -35,18 +35,16 @@
    1.26  		--enable-R-shlib	\
    1.27  		$CONFIGURE_ARGS &&
    1.28  	make &&
    1.29 -	make DESTDIR=$install install
    1.30 +	make install DESTDIR=$install
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36 -	mkdir -p $fs/usr
    1.37 +	cook_copy_folders	bin
    1.38 +	cook_copy_folders	lib
    1.39  
    1.40 -	cp -a $install/usr/bin	$fs/usr
    1.41 -	cp -a $install/usr/lib	$fs/usr
    1.42 -
    1.43 -	sed -i s'|bash|sh|' $fs/usr/bin/R
    1.44 -	sed -i s'|bash|sh|' $fs/usr/lib/R/bin/R
    1.45 -	sed -i s'|bash|sh|' $fs/usr/lib/R/bin/pager
    1.46 +	sed -i s'|bash|sh|'	$fs/usr/bin/R
    1.47 +	sed -i s'|bash|sh|'	$fs/usr/lib/R/bin/R
    1.48 +	sed -i s'|bash|sh|'	$fs/usr/lib/R/bin/pager
    1.49  }