summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build_tcl.sh15
-rw-r--r--build_tk.sh15
2 files changed, 30 insertions, 0 deletions
diff --git a/build_tcl.sh b/build_tcl.sh
new file mode 100644
index 0000000..fac97d2
--- /dev/null
+++ b/build_tcl.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+# Script to facilitate building tcl/tk 8.6 binaries for CRAN in a chroot
+# Matching CRAN sources must be in /etc/apt/sources.list of the chroot
+
+apt-get update
+apt-get build-dep tcl8.6
+
+apt-get source tcl8.6
+
+cd tcl8.6-*
+
+dpkg-buildpackage -B
+
+cd ..
diff --git a/build_tk.sh b/build_tk.sh
new file mode 100644
index 0000000..8551133
--- /dev/null
+++ b/build_tk.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+# Script to facilitate building tcl/tk 8.6 binaries for CRAN in a chroot
+# Matching CRAN sources must be in /etc/apt/sources.list of the chroot
+
+apt-get update
+apt-get build-dep tk8.6
+
+apt-get source tk8.6
+
+cd tk8.6-*
+
+dpkg-buildpackage -B
+
+cd ..

Contact - Imprint