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

View of /build_r-base.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 56 - (download) (as text) (annotate)
Mon Jul 6 21:45:30 2009 UTC (3 years, 10 months ago) by ranke
File size: 669 byte(s)
Rewrite of backporting scripts for exclusive use of pdebuild,
getting rid of schroot

#!/bin/bash

# Script to automate building r-base binaries for CRAN

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

# Preconditions: - shell variables DIST and ARCH
#                - CRAN sources in /etc/apt/sources/list

echo Distribution is $DIST
echo Architecture is $ARCH

apt-get update
apt-get source -t $DIST-cran r-base

cd r-base-*

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

cd ..

Johannes Ranke
ViewVC Help
Powered by ViewVC 1.0.1