summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2008-04-24 10:33:36 +0000
committerranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2008-04-24 10:33:36 +0000
commitaa4cd7e1f0e555072c175aa60055be6d99760140 (patch)
tree2060c770fc4daff0bfe4dc0a96de26423166f8f4
parentcc5686f0b99fbf83ff26e59279b6db53ab057bdb (diff)
- Added a build script for r-base binary packages (amd64 in my case)
- Renamed the build script for r-base to backport_r-base.sh, because it really does some backporting git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@30 f247ebf9-aa24-0410-a698-f940e971ad2b
-rw-r--r--build_all_etch.sh2
-rw-r--r--r-base/backport_r-base.sh (renamed from r-base/build-r-base.sh)2
-rw-r--r--r-base/build_r-base.sh17
3 files changed, 19 insertions, 2 deletions
diff --git a/build_all_etch.sh b/build_all_etch.sh
index ef7219e..05f626f 100644
--- a/build_all_etch.sh
+++ b/build_all_etch.sh
@@ -9,7 +9,7 @@
#DEBFULLNAME="Johannes Ranke"
#for i in rkward; do
-for i in cluster foreign kernsmooth lattice mgcv nlme rpart survival vr littler rkward; do
+for i in cluster foreign kernsmooth lattice mgcv nlme rpart survival vr littler; do
cd $i
rm -rf $i*
rm *.deb
diff --git a/r-base/build-r-base.sh b/r-base/backport_r-base.sh
index 94192fe..3c6963a 100644
--- a/r-base/build-r-base.sh
+++ b/r-base/backport_r-base.sh
@@ -11,7 +11,7 @@
export DEBEMAIL="Johannes Ranke <jranke@uni-bremen.de>"
-rm -rf r-base*
+rm -rf r-base* r-base-core* r-mathlib*
apt-get update
apt-get source -t unstable r-base
diff --git a/r-base/build_r-base.sh b/r-base/build_r-base.sh
new file mode 100644
index 0000000..0ee12b8
--- /dev/null
+++ b/r-base/build_r-base.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+# Script to automate building of r-base packages for Debian.
+
+# Author: Johannes Ranke <jranke@uni-bremen.de>
+
+apt-get source r-base
+cd r-base-*
+(fakeroot dpkg-buildpackage -B | tee ../build_log_r-base_amd64) 3>&1 1>&2 2>&3 | tee ../build_errors_r-base_amd64
+cd ..
+
+# Sign logs
+for i in build_log_r-base_amd64 build_errors_r-base_amd64
+do
+ gpg --clearsign $i
+ mv $i.asc $i
+done

Contact - Imprint