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



                                                                             

                                                           
 

                                                                                
                  

                                            


                                                                                  
                                  
                
    
#!/bin/bash
# SVN: $Id$
# Script to automate building backports from Dirks r-cran-* packages to etch.
# Depends: python-debian, edit_changelog.py
# Author:  Johannes Ranke <jranke@uni-bremen.de>
# Comment: First, r-base should be backported and installed
# Last Change: 2007 Jan 03

for i in boot cluster foreign kernsmooth lattice mgcv nlme rpart survival vr; do
	cd $i
	rm -rf $i*
	apt-get source -t unstable r-cran-$i
	cd $i-*
	cp ../../r-etch-cran-recommended.mk debian/rules
	sed -i 's/^Replaces:.*/&, r-recommended (= 2.4.0-0sarge2)/' debian/control
	python ../../edit_changelog_etch.py
	fakeroot dpkg-buildpackage
	cd ../..
done

Contact - Imprint