diff options
-rw-r--r-- | backport_littler.sh | 21 | ||||
-rw-r--r-- | backport_recommended_etch.sh | 2 |
2 files changed, 22 insertions, 1 deletions
diff --git a/backport_littler.sh b/backport_littler.sh new file mode 100644 index 0000000..c1ded0b --- /dev/null +++ b/backport_littler.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# Script to automate building of littler packages for Debian. + +# Author: Johannes Ranke <jranke@uni-bremen.de> + +#DEBEMAIL=jranke@uni-bremen.de +#DEBFULLNAME="Johannes Ranke" +text="Recompiled on etch for CRAN" + +for i in littler; 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 -sa + cd ../.. +done diff --git a/backport_recommended_etch.sh b/backport_recommended_etch.sh index 6799677..5adcf6a 100644 --- a/backport_recommended_etch.sh +++ b/backport_recommended_etch.sh @@ -17,7 +17,7 @@ for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rcompgen rp rm *.deb apt-get source -t unstable $i cd $i-* - version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.6.0 + version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.6.1 dch -b -v $version -D etch-cran $text fakeroot dpkg-buildpackage -sa cd ../.. |