Hi All, I just cleaned up the package for R (extra/science/r), which had some strange paths using... especially datarootdir was under /usr/lib/R/. It always just worked, so i did not actually have a close look at it in detail since long... my bad. Now here comes the essential cleanup.
If you happen to have your own CRAN packages or you are using R in a customised manner, please check your paths. The new r pkg i have put in [testing(64)] and it will reside there for two weeks (until 2007-10-07). Please report anything regarding it directly to me. Please note, that r is now explicitely built also against blas and lapack and has jre as makedepends. I have also some CRAN pkgs in my private repository that i can move to [extra] if there is a need for them. thanx + greetings, Damir ---------- Message transmis ---------- Betreff: [arch-commits] CVS update of extra/science/r (PKGBUILD) Datum: Tuesday 25 September 2007 Von: Damir Perisa <[EMAIL PROTECTED]> An: [EMAIL PROTECTED] Date: Monday, September 24, 2007 @ 21:03:29 Author: damir Path: /home/cvs-extra/extra/science/r Modified: PKGBUILD (1.22 -> 1.23) upgpkg: r 2.5.1-2 ----------+ PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++++------- 1 file changed, 38 insertions(+), 7 deletions(-) Index: extra/science/r/PKGBUILD diff -u extra/science/r/PKGBUILD:1.22 extra/science/r/PKGBUILD:1.23 --- extra/science/r/PKGBUILD:1.22 Mon Jul 16 09:21:27 2007 +++ extra/science/r/PKGBUILD Mon Sep 24 21:03:28 2007 @@ -1,17 +1,17 @@ -# $Id: PKGBUILD,v 1.22 2007/07/16 13:21:27 damir Exp $ +# $Id: PKGBUILD,v 1.23 2007/09/25 01:03:28 damir Exp $ # Maintainer: Damir Perisa <[EMAIL PROTECTED]> # Contributor: K. Piche <[EMAIL PROTECTED]> pkgname=r origname=R pkgver=2.5.1 -pkgrel=1 +pkgrel=2 pkgdesc="R is a language and environment for statistical computing and graphics" arch=("i686" "x86_64") license=('GPL') url=('http://www.r-project.org/') -depends=('bzip2' 'libpng' 'libjpeg' 'ncurses' 'pcre' 'readline' 'zlib' 'perl' 'gcc-fortran>=4.2.0' 'tk' 'libxt' 'libxmu') -makedepends=('blas' 'lapack') +depends=('blas' 'lapack' 'bzip2' 'libpng' 'libjpeg' 'ncurses' 'pcre' 'readline' 'zlib' 'perl' 'gcc-fortran>=4.2.0' 'tk' 'libxt' 'libxmu') +makedepends=('jre') #source=(http://cran.r-project.org/src/base/$origname-$pkgver.tgz) source=("http://cran.r-project.org/src/base/R-2/$origname-$pkgver.tar.gz" \ "$pkgname.desktop" "$pkgname.png") @@ -19,22 +19,32 @@ build() { cd $startdir/src/$origname-$pkgver sed -i 's|#define NeedFunctionPrototypes 0|#define NeedFunctionPrototypes 1|g' src/modules/X11/dataentry.c || return 1 - ./configure --prefix=/usr --libdir=$startdir/pkg/usr/lib \ + ./configure --prefix=/usr \ + --libdir=/usr/lib \ + --datarootdir=/usr/share \ + rsharedir=/usr/share/R/ \ + rincludedir=/usr/include/R/ \ + rdocdir=/usr/share/R/docs/ \ --with-gnu-ld \ + --with-readline \ --with-x \ --with-zlib \ --with-bzlib \ --with-pcre \ --enable-R-shlib \ - F77=gfortran + --with-lapack \ + --with-blas \ + F77=gfortran \ + LIBnn=lib make || return 1 - make prefix=$startdir/pkg/usr install || return 1 + make DESTDIR=$startdir/pkg/ install || return 1 # Fixup R wrapper scripts. sed -i "s|$startdir/pkg||" $startdir/pkg/usr/bin/R rm $startdir/pkg/usr/lib/R/bin/R cd $startdir/pkg/usr/lib/R/bin ln -s ../../../bin/R + # install some freedesktop.org compatibility install -D -m644 $startdir/src/$pkgname.desktop \ $startdir/pkg/usr/share/applications/$pkgname.desktop @@ -42,6 +52,27 @@ $startdir/pkg/usr/share/pixmaps/$pkgname.png } + +# R is now configured for x86_64-unknown-linux-gnu +# +# Source directory: . +# Installation directory: /usr +# +# C compiler: gcc -std=gnu99 -march=x86-64 -mtune=generic -O2 -pipe +# Fortran 77 compiler: gfortran -g -O2 +# +# C++ compiler: g++ -march=x86-64 -mtune=generic -O2 -pipe +# Fortran 90/95 compiler: gfortran -g -O2 +# Obj-C compiler: +# +# Interfaces supported: X11, tcltk +# External libraries: readline, BLAS(generic), LAPACK(generic) +# Additional capabilities: PNG, JPEG, iconv, MBCS, NLS +# Options enabled: shared R library, R profiling, Java +# +# Recommended packages: yes + + md5sums=('162f6d5a1bd7c60fd652145e050f3f3c' 'f6d54d32e510d90c748a0d16d2abcbdc' '00659f39e90627fe87f1645df5d4e3a7') _______________________________________________ arch-commits mailing list [EMAIL PROTECTED] http://archlinux.org/mailman/listinfo/arch-commits ------------------------------------------------------- -- .·´¯`·.¸.·´¯`·.¸¸.·´¯`·.¸.·´¯`·.¸.·´¯`·.¸.·´¯`·.¸¸.·´ ° ° ° ° ° ° ><((((º> ° ° ° ° ° <º)))>< <º)))>< _______________________________________________ arch mailing list arch@archlinux.org http://archlinux.org/mailman/listinfo/arch