From 21f32aff61eca7e79b76f9cbccae28efa66d369e Mon Sep 17 00:00:00 2001 From: ranke Date: Mon, 6 Jul 2009 21:45:30 +0000 Subject: Rewrite of backporting scripts for exclusive use of pdebuild, getting rid of schroot git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@56 f247ebf9-aa24-0410-a698-f940e971ad2b --- build_others.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 build_others.sh (limited to 'build_others.sh') diff --git a/build_others.sh b/build_others.sh new file mode 100644 index 0000000..350150a --- /dev/null +++ b/build_others.sh @@ -0,0 +1,16 @@ +# Author: Johannes Ranke + +# Preconditions: - shell variables DIST and ARCH +# - CRAN sources in /etc/apt/sources/list + +echo Distribution is $DIST +echo Architecture is $ARCH + +apt-get update + +for i in cluster foreign kernsmooth lattice mgcv nlme rmatrix rodbc rpart survival vr littler; do + apt-get source -t $DIST-cran $i + cd $i-* + + 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 +done -- cgit v1.2.1