academic/R: Updated for version 3.1.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
melikamp 2014-04-18 00:16:22 +07:00 committed by Willy Sudiarto Raharjo
parent 540a11551f
commit 1219dfed68
2 changed files with 12 additions and 12 deletions

View file

@ -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 <http://www.gnu.org/licenses/>.
# 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
# <http://www.gnu.org/licenses/>.
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

View file

@ -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=""