Browse Source

d/R: Upgraded to R-2.11.1.

slackware-14.2
Damien Goutte-Gattat 12 years ago
parent
commit
b920c24e9d
  1. 1
      d/R/R-2.10.1.tar.gz.sha1
  2. 1
      d/R/R-2.11.1.tar.gz.sha1
  3. 12
      d/R/R.SlackBuild

1
d/R/R-2.10.1.tar.gz.sha1

@ -1 +0,0 @@
f5b1969fde3642c233f5198e44a7bf17a7b85ab6 R-2.10.1.tar.gz

1
d/R/R-2.11.1.tar.gz.sha1

@ -0,0 +1 @@
0b36780627f3cc5cea3f41e0b717ed7ee92ba086 R-2.11.1.tar.gz

12
d/R/R.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008,2009 Damien Goutte-Gattat
# Copyright (C) 2008,2009,2010 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -25,10 +25,11 @@
# Latest R sourcecode is available at: <http://www.r-project.org/>.
#
# Recommends: l/libatlas
# Optional: l/icu
# Source package infos
NAMESRC=${NAMESRC:-R}
VERSION=${VERSION:-2.10.1}
VERSION=${VERSION:-2.11.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://cran.cict.fr/src/base/R-2/$ARCHIVE}
@ -92,19 +93,16 @@ CXXFLAGS=$CPUOPT \
--libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man \
--infodir=/usr/info \
--enable-R-shlib \
--with-blas \
--with-lapack="-lcblas -latlas -llapack" \
--with-system-zlib \
--with-system-bzlib \
--with-system-pcre
make -j $JOBS
make install DESTDIR=$PKG
make install-strip DESTDIR=$PKG
make install-info DESTDIR=$PKG
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Compress man pages, suppress info dir.* files
find $PKG/usr/man -type f -exec gzip -9 '{}' \;
rm -f $PKG/usr/info/dir*

Loading…
Cancel
Save