diff options
-rw-r--r-- | build_recommended_etch.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/build_recommended_etch.sh b/build_recommended_etch.sh new file mode 100644 index 0000000..3dcfc09 --- /dev/null +++ b/build_recommended_etch.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +# Script to automate building of r-cran-* packages for Debian. + +# Author: Johannes Ranke <jranke@uni-bremen.de> and +# Vincent Goulet <vincent.goulet@act.ulaval.ca> + +#DEBEMAIL=jranke@uni-bremen.de +#DEBFULLNAME="Johannes Ranke" +text="Recompiled on etch for CRAN" + +#for i in codetools; do +for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rcompgen rpart survival vr; do + cd $i + rm -rf $i* + rm *.deb + apt-get source -t unstable $i + cd $i-* + version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.1 + dch -b -v $version -D etch-cran $text + fakeroot dpkg-buildpackage -B + cd ../.. +done |