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

Annotation of /build_r-base.sh

Parent Directory Parent Directory | Revision Log Revision Log


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

1 : ranke 56 #!/bin/bash
2 :    
3 :     # Script to automate building r-base binaries for CRAN
4 :    
5 :     # Author: Johannes Ranke <jranke@uni-bremen.de>
6 :    
7 :     # Preconditions: - shell variables DIST and ARCH
8 :     # - CRAN sources in /etc/apt/sources/list
9 :    
10 :     echo Distribution is $DIST
11 :     echo Architecture is $ARCH
12 :    
13 :     apt-get update
14 :     apt-get source -t $DIST-cran r-base
15 :    
16 :     cd r-base-*
17 :    
18 : ranke 60 #pbuilder update
19 : ranke 56 pdebuild --debbuildopts '-b' --buildresult /home/ranke/svn/website/www/ranke/r-cran/$DIST-cran/ -- --distribution $DIST --basetgz /var/cache/pbuilder/$DIST-$ARCH-base.tgz --aptcache /exthd/pbuilder/$DIST-$ARCH/aptcache --buildplace /exthd/pbuilder/$DIST-$ARCH/build
20 :     if [ $? -ne 0 ]; then
21 :     exit
22 :     fi
23 :    
24 :     cd ..

Johannes Ranke
ViewVC Help
Powered by ViewVC 1.0.1