#!/bin/bash # Script to automate building of r-cran-* packages for Debian for architectures # other than the originally backported i386 packages. # This worked flawlessly for amd64 with the fresh R 2.8.1 backport to etch, # if an archive containing the backported source packages is the only deb-src # entry in /etc/apt/sources.list # Last Change: 2008 Dez 30 # Author: Johannes Ranke and for i in rmatrix rodbc; do #for i in cluster foreign kernsmooth lattice rmatrix mgcv nlme rodbc rpart survival vr littler; do cd $i rm -rf $i* rm *.deb apt-get source $i cd $i-* pdebuild cd ../.. done