Parent Directory
|
Revision Log
Revision 59 - (view) (download) (as text)
| 1 : | ranke | 56 | # Author: Johannes Ranke <jranke@uni-bremen.de> |
| 2 : | |||
| 3 : | # Preconditions: - shell variables DIST and ARCH | ||
| 4 : | # - sid sources in /etc/apt/sources/list | ||
| 5 : | # - Edit the sed scripts below to adapt the build dependencies | ||
| 6 : | # to the appropriate version of r-base-dev | ||
| 7 : | # - Set the R version | ||
| 8 : | |||
| 9 : | # R version against which the software is compiled | ||
| 10 : | Rversion=2.9.1 | ||
| 11 : | |||
| 12 : | echo Distribution is $DIST | ||
| 13 : | echo Architecture is $ARCH | ||
| 14 : | |||
| 15 : | text="Recompiled on $DIST for CRAN" | ||
| 16 : | |||
| 17 : | ranke | 59 | #apt-get update |
| 18 : | ranke | 56 | pbuilder update |
| 19 : | |||
| 20 : | ranke | 59 | #for i in survival; do |
| 21 : | for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rmatrix rodbc rpart survival vr littler; do | ||
| 22 : | ranke | 56 | apt-get source -t unstable $i |
| 23 : | cd $i-* | ||
| 24 : | version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~$DIST"cran".$Rversion | ||
| 25 : | dch -b -v $version -D $DIST-cran $text | ||
| 26 : | |||
| 27 : | ranke | 58 | sed -i '/^Build-Depends/s/r-base-dev (>= 2\..\..)/r-base-dev (>= 2.9.1-2~etchcran.0)/' debian/control |
| 28 : | sed -i '/^Build-Depends-Indep/s/r-base-dev (>= 2\..\..)/r-base-dev (>= 2.9.1-2~etchcran.0)/' debian/control | ||
| 29 : | ranke | 56 | |
| 30 : | dch -a "debian/control: adapt build dependencies on r-base-dev to current backport" | ||
| 31 : | |||
| 32 : | pdebuild --debbuildopts '-sa' --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 | ||
| 33 : | cd .. | ||
| 34 : | done |
| Johannes Ranke | ViewVC Help |
| Powered by ViewVC 1.0.1 |