summaryrefslogblamecommitdiff
path: root/backport_recommended_etch.sh
blob: 6799677d6d1ecb319e6bf4809686d6d9ff6bdf55 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
           
 









                                                              

                                                                                                   
             
                  
                

                                 
                                                                                 


                                         
    
#!/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 rcompgen rpart survival vr; 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.2.6.0
    dch -b -v $version -D etch-cran $text
    fakeroot dpkg-buildpackage -sa
    cd ../..
done

Contact - Imprint