From 1219dfed68b152de4c84358f0df6c5f885a4d90d Mon Sep 17 00:00:00 2001 From: melikamp Date: Fri, 18 Apr 2014 00:16:22 +0700 Subject: academic/R: Updated for version 3.1.0. Signed-off-by: Willy Sudiarto Raharjo --- academic/R/R.SlackBuild | 18 +++++++++--------- academic/R/R.info | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'academic') diff --git a/academic/R/R.SlackBuild b/academic/R/R.SlackBuild index ab17d91d5a..f201afb986 100644 --- a/academic/R/R.SlackBuild +++ b/academic/R/R.SlackBuild @@ -1,7 +1,9 @@ #!/bin/sh -# SlackBuild script for R, by melikamp, Andrew Rowland. (Contributors -# are listed in order of first participation.) +# SlackBuild script for R + +# Copyright 2014 melikamp, Andrew Rowland. (Contributors are listed in +# order of first participation.) # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -17,12 +19,12 @@ # including the end of all existence and the Universe as we know it. # See the GNU General Public License for more details. -# You should have received a copy of the GNU General Public License -# along with this program (most likely, a file named COPYING). If -# not, see . +# You may have received a copy of the GNU General Public License along +# with this program (most likely, a file named COPYING). If not, see +# . PRGNAM=R -VERSION=${VERSION:-3.0.3} +VERSION=${VERSION:-3.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -95,15 +97,13 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README NEWS $PKG/usr/doc/$PRGNAM-$VERSION -tar cfJ $PKG/usr/doc/$PRGNAM-$VERSION/OLDER_NEWS.txz NEWS.[012] cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/academic/R/R.info b/academic/R/R.info index edc07b4f09..1aa719f903 100644 --- a/academic/R/R.info +++ b/academic/R/R.info @@ -1,8 +1,8 @@ PRGNAM="R" -VERSION="3.0.3" +VERSION="3.1.0" HOMEPAGE="http://www.r-project.org/" -DOWNLOAD="http://ftp.osuosl.org/pub/cran/src/base/R-3/R-3.0.3.tar.gz" -MD5SUM="f9025976863847f2d0502254d0f0dbf2" +DOWNLOAD="http://ftp.osuosl.org/pub/cran/src/base/R-3/R-3.1.0.tar.gz" +MD5SUM="a1ee52446bee81820409661e6d114ab1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3