diff options
Diffstat (limited to 'build_others.sh')
-rw-r--r-- | build_others.sh | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/build_others.sh b/build_others.sh index 95d68f4..0b67494 100644 --- a/build_others.sh +++ b/build_others.sh @@ -1,24 +1,16 @@ # Author: Johannes Ranke <jranke@uni-bremen.de> -# On Debian I used to run this script as root. On Ubuntu I now run it with -# sudo -E sh build_others.sh - -# Preconditions: - shell variables DIST and ARCH -# - matching CRAN sources in /etc/apt/sources/list -# - cdbs installed (and maybe more) - -echo Distribution is $DIST -echo Architecture is $ARCH - apt-get update -pbuilder update -#for i in r-cran-rjags; do -#for i in cluster foreign lattice mgcv nlme r-cran-class r-cran-spatial r-cran-nnet r-cran-mass kernsmooth rmatrix rodbc rpart survival littler; do -for i in cluster foreign lattice mgcv nlme r-cran-class r-cran-spatial r-cran-nnet r-cran-mass kernsmooth rmatrix rodbc rpart survival littler rpy rkward r-cran-rjags; do +# lenny +for i in cluster foreign lattice mgcv nlme r-cran-class r-cran-spatial r-cran-nnet r-cran-mass kernsmooth rmatrix rodbc rpart survival littler; do +# squeeze +#for i in cluster foreign lattice mgcv nlme r-cran-class r-cran-spatial r-cran-nnet r-cran-mass kernsmooth rmatrix rodbc rpart survival littler rpy rkward r-cran-rjags; do + apt-get --no-install-recommends build-dep $i apt-get source $i cd $i-* - pdebuild --buildresult /home/ranke/svn/website/www/ranke/r-cran/$DIST-cran/ -- --binary-arch --distribution $DIST --basetgz /var/cache/pbuilder/$DIST-$ARCH-base.tgz --aptcache /var/cache/pbuilder/$DIST-$ARCH/aptcache --buildplace /var/cache/pbuilder/$DIST-$ARCH/build + dpkg-buildpackage -B + cd .. done |