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

View of /build_r-base.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 64 - (download) (as text) (annotate)
Fri May 7 06:20:44 2010 UTC (3 years ago) by ranke
File size: 824 byte(s)
Update for the backport of R 2.11.0 to etch

#!/bin/bash

# Script to automate building r-base binaries for CRAN

# Author: Johannes Ranke <jranke@uni-bremen.de>

# On Debian I used to run this script as root. On Ubuntu I now run it with 
# sudo -E sh build_r-base.sh

# Preconditions: - shell variables DIST and ARCH
#                - matching CRAN sources in /etc/apt/sources/list
#                - cdbs installed (and maybe more)

echo Distribution is $DIST
echo Architecture is $ARCH

apt-get update
apt-get source r-base

cd r-base-*

pbuilder update

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
if [ $? -ne 0 ]; then
    exit 
fi

cd ..

Johannes Ranke
ViewVC Help
Powered by ViewVC 1.0.1