Hello,
I've hacked up a small yet rather flexible build environment for creating TCE and TCZ packages.
It's available via git:
git clone http://svolli.org/software/tinycore/.gitgit clone http://git.svolli.org/tinycore.gitor
git clone git://git.svolli.org/tinycore.gitThere are four files in there right now:
tcbuild/base.inc
tcbuild/bvi.desc
tcbuild/qt-4.5.desc
tcbuild/tcbuild
tcbuild is the frontend that should be copied/moved/linked to $PATH
On line 10 you can see:
TCBUILD_DIR=${HOME}/tcbuild
So that's where I keep the rest of the files. Calling it without any arguments displays a hint on how to use it:
usage: ./tcbuild package mode
modes are:
download unpack configure compile install postinstall buildtce buildtcz ls full
download: download the sourcecode
unpack: unpack the sourcecode
configure: run ./configure with appropriate options
compile: run make
install: run make install
postinstall: remove some unnecessary stuff like docs and manpages
buildtce: build the .tce files with .tce.md5.txt and .tce.info
buildtcz: build the .tcz files with .tcz.md5.txt and .tcz.info
full: run all of the above in sequence
All these steps can be run from anywhere in the filesystem, tcbuild always "cds" to the right directory.
The pathnames to which files are downloaded, unpacked, compiled, and installed are in the head of base.inc, which contains most of the functionality, tcbuild is just a frontend.
bvi.desc and qt-4.5.desc are two packages I've defined.
bvi is "binary vi", a hex-editor with vi-like keybindings. A rather basic and straight forward package.
qt-4.5 is my second attempt on building a qt-4.5.1 package for TCL. This one includes WebKit and is much more modular (7 instead of 2 packages) than the one currently provided.
If you look at these shell script you can see that this "build-framework" can be customized for single packages rather easy.
Other package description files will follow, as well as my resulting submissions from these build scripts. But now, here in Germany, it's bedtime. ;-)
Edit: 2010-03-16: the repository has moved quite some time ago, the address has been updated.