blob: cdf39fbd74bd48179b615cbb64355f013e408f6e (
plain) (
tree)
|
|
#!/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
|