diff options
author | melikamp <melikamp@melikamp.net> | 2012-04-15 22:17:26 -0400 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2012-04-16 05:35:58 -0500 |
commit | af844f8c9cdcaabba33285609994346175b8235e (patch) | |
tree | 80fdbf3f1d3639035105b973b3de7449115f3c11 /academic/R/R.SlackBuild | |
parent | 9d564ba2a9957d06a1147663fdb485b9227a6e37 (diff) | |
download | slackbuilds-af844f8c9cdcaabba33285609994346175b8235e.tar.gz |
academic/R: Updated for version 2.15.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/R/R.SlackBuild')
-rw-r--r-- | academic/R/R.SlackBuild | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/academic/R/R.SlackBuild b/academic/R/R.SlackBuild index f66ea2759c..b73b2c4f8a 100644 --- a/academic/R/R.SlackBuild +++ b/academic/R/R.SlackBuild @@ -1,9 +1,10 @@ #!/bin/sh -# SlackBuild script for R, by melikamp. +# SlackBuild script for R, by melikamp, Andrew Rowland. +# (Contributors are listed in order of first participation.) # This program is free software: it is placed into the Public Domain -# by the author. A verbose dedication is available at +# by the author(s). A verbose dedication is available at # http://creativecommons.org/publicdomain/zero/1.0/legalcode # This program is distributed in the hope that it will be useful, but @@ -13,10 +14,21 @@ # the Universe as we know it. PRGNAM=R -VERSION=2.14.1 +VERSION=2.15.0 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +if [ "${R_SHLIB:-yes}" = "yes" ]; then + r_shlib="--enable-R-shlib" +else + r_shlib="--disable-R-shlib" +fi +if [ "${BLAS_SHLIB:-yes}" = "yes" ]; then + blas_shlib="--enable-BLAS-shlib" +else + blas_shlib="--disable-BLAS-shlib" +fi + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -68,9 +80,12 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ rdocdir=/usr/doc/$PRGNAM-$VERSION \ + $r_shlib \ + $blas_shlib \ --build=$ARCH-slackware-linux make +mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/R/lib # work around make install bug make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ |