wok diff R/receipt @ rev 23045

gtk-doc: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 05 17:20:18 2020 +0100 (2020-03-05)
parents 842878ded11f
children a3b6dd3aac6f
line diff
     1.1 --- a/R/receipt	Fri Jun 02 11:23:04 2017 +0200
     1.2 +++ b/R/receipt	Thu Mar 05 17:20:18 2020 +0100
     1.3 @@ -1,17 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="R"
     1.7 -VERSION="3.1.1"
     1.8 +VERSION="3.6.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  LICENSE="GPL2"
    1.13 +WEB_SITE="https://www.r-project.org/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.r-project.org/"
    1.17 -WGET_URL="http://cran.r-project.org/src/base/R-3/$TARBALL"
    1.18 +WGET_URL="https://cran.r-project.org/src/base/R-${VERSION%%.*}/$TARBALL"
    1.19  
    1.20 -DEPENDS="libgfortran readline bzlib libgomp midori epdfview pcre gcc-lib-math"
    1.21 -BUILD_DEPENDS="gfortran readline-dev bzip2-dev pcre-dev"
    1.22 +DEPENDS="bzlib epdfview gcc-lib-math libgfortran libgomp liblzma
    1.23 +	midori pcre readline"
    1.24 +BUILD_DEPENDS="bzip2-dev curl-dev gfortran liblzma-dev pcre-dev readline-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28 @@ -19,24 +21,26 @@
    1.29  	export R_BROWSER="midori"
    1.30  	export R_PDFVIEWER="epdfview"
    1.31  	unset DESTDIR
    1.32 -	patch -p 0 < $stuff/pcre.u
    1.33  
    1.34 -	./configure \
    1.35 -		--enable-R-shlib \
    1.36 -		--with-system-zlib \
    1.37 -		--with-system-bzlib \
    1.38 -		--with-system-pcre \
    1.39 +# valid before 3.1.1
    1.40 +#	patch -p 0 < $stuff/pcre.u
    1.41 +
    1.42 +	./configure			\
    1.43 +		--enable-R-shlib	\
    1.44  		$CONFIGURE_ARGS &&
    1.45 -	make && make DESTDIR=$install install
    1.46 +	make &&
    1.47 +	make DESTDIR=$install install
    1.48  }
    1.49  
    1.50  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.51  genpkg_rules()
    1.52  {
    1.53  	mkdir -p $fs/usr
    1.54 -	cp -a $install/usr/bin $fs/usr
    1.55 -	cp -a $install/usr/lib $fs/usr
    1.56 -	sed -i s'/bash/sh/' $fs/usr/bin/R
    1.57 -	sed -i s'/bash/sh/' $fs/usr/lib/R/bin/R
    1.58 -	sed -i s'/bash/sh/' $fs/usr/lib/R/bin/pager
    1.59 +
    1.60 +	cp -a $install/usr/bin	$fs/usr
    1.61 +	cp -a $install/usr/lib	$fs/usr
    1.62 +
    1.63 +	sed -i s'|bash|sh|' $fs/usr/bin/R
    1.64 +	sed -i s'|bash|sh|' $fs/usr/lib/R/bin/R
    1.65 +	sed -i s'|bash|sh|' $fs/usr/lib/R/bin/pager
    1.66  }