#!/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 ..