[r-backports] / build_others.sh Repository:
ViewVC logotype

Annotation of /build_others.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 67 - (view) (download) (as text)

1 : ranke 56 # Author: Johannes Ranke <jranke@uni-bremen.de>
2 :    
3 : ranke 61 # On Debian I used to run this script as root. On Ubuntu I now run it with
4 :     # sudo -E sh build_others.sh
5 :    
6 : ranke 56 # Preconditions: - shell variables DIST and ARCH
7 : ranke 64 # - matching CRAN sources in /etc/apt/sources/list
8 : ranke 61 # - cdbs installed (and maybe more)
9 : ranke 56
10 :     echo Distribution is $DIST
11 :     echo Architecture is $ARCH
12 :    
13 : ranke 62 apt-get update
14 : ranke 60 pbuilder update
15 : ranke 56
16 : ranke 67 #for i in mgcv; do
17 : ranke 65 for i in cluster foreign lattice mgcv nlme r-cran-class r-cran-spatial r-cran-nnet r-cran-mass kernsmooth rmatrix rodbc rpart survival littler rpy; do
18 : ranke 64 apt-get source $i
19 : ranke 56 cd $i-*
20 :    
21 : ranke 63 pdebuild --buildresult /home/ranke/svn/website/www/ranke/r-cran/$DIST-cran/ -- --binary-arch --distribution $DIST --basetgz /var/cache/pbuilder/$DIST-$ARCH-base.tgz --aptcache /var/cache/pbuilder/$DIST-$ARCH/aptcache --buildplace /var/cache/pbuilder/$DIST-$ARCH/build
22 : ranke 59 cd ..
23 : ranke 56 done

Johannes Ranke
ViewVC Help
Powered by ViewVC 1.0.1