summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorJoel J. Adamson <sparrow1240@gmail.com>2010-05-11 22:22:13 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:22:13 +0200
commit85dcbddb77959f9dc14a636867c88a790d2d379d (patch)
tree761b34be6e54d6c00c38f917a44f0b1821edb15f /development
parent3b9a349a3b5c4ebd95c99dc3da375365d9f04c34 (diff)
downloadslackbuilds-85dcbddb77959f9dc14a636867c88a790d2d379d.tar.gz
development/R: Updated for version 2.7.2
Diffstat (limited to 'development')
-rw-r--r--development/R/R.SlackBuild21
-rw-r--r--development/R/R.info8
2 files changed, 19 insertions, 10 deletions
diff --git a/development/R/R.SlackBuild b/development/R/R.SlackBuild
index ec650dfe52..40f4494372 100644
--- a/development/R/R.SlackBuild
+++ b/development/R/R.SlackBuild
@@ -1,10 +1,11 @@
-#! /bin/sh
+#!/bin/sh
# Slackware build script for R
# Written by Joel J. Adamson
+# Modified by SlackBuilds.org
PRGNAM=R
-VERSION=2.6.2
+VERSION=2.7.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -18,6 +19,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
rm -rf $PKG
@@ -29,18 +32,24 @@ cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-# mandir and infodir are ignored, so don't bother with them
+# adjust the path variable; you need pdflatex to build the LaTeX
+# documentation
+PATH=/usr/share/texmf/bin:$PATH
+
+# Set configure options
+# If your app is written in C++, you'll also need to add a line for CXXFLAGS
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-perl=/usr/bin/perl \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux \
+ --host=$ARCH-slackware-linux
make || exit 1
make install DESTDIR=$PKG || exit 1
-make install-info DESTDIR=$PKG || exit 1
+
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
@@ -69,4 +78,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/development/R/R.info b/development/R/R.info
index 35cb92724b..69f904aa8e 100644
--- a/development/R/R.info
+++ b/development/R/R.info
@@ -1,8 +1,8 @@
PRGNAM="R"
-VERSION="2.62"
+VERSION="2.7.2"
HOMEPAGE="http://www.r-project.org"
-DOWNLOAD="http://mirrors.ibiblio.org/pub/mirrors/CRAN/src/base/R-2/R-2.6.2.tar.gz"
-MD5SUM="1099cbf02c624ceb459d9bbc4d0d1448"
+DOWNLOAD="http://mirrors.ibiblio.org/pub/mirrors/CRAN/src/base/R-2/R-2.7.2.tar.gz"
+MD5SUM="6122945e9301825b97a506151b3cefde"
MAINTAINER="Joel J. Adamson"
EMAIL="sparrow1240@gmail.com"
-APPROVED="rworkman"
+APPROVED="David Somero"