summaryrefslogtreecommitdiff
path: root/backport_recommended_sarge.sh
blob: 5cb52af78484cc77f8856d68835ec4d2058cd535 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
# SVN: $Id$
# Script to automate building backports from Dirks r-cran-* packages to etch.
# Depends: debian_bundle, edit_changelog.py
# Author:  Johannes Ranke <jranke@uni-bremen.de>
# Comments: First, the backport 2.4.0-0sarge2 from CRAN should be installed
#			debian/changelog and debian/control have to be hand-edited
# 			for nlme and rpart, replacing their build dependency on 
#			r-cran-survival by r-recommended (=2.4.0-0sarge2)
# Last Change: 2006 Dez 21

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-sarge-cran-recommended.mk debian/rules
	sed -i 's/^Replaces:.*/&, r-recommended (= 2.4.0-0sarge2)/' debian/control
	python ../../edit_changelog_sarge.py
	fakeroot dpkg-buildpackage
	cd ../..
done

Contact - Imprint