Here is what I did to make a truecrypt.sce, and it is working here to create and mount/unmount a container.
First, get truecrypt:
wget
http://www.truecrypt.org/download/truecrypt-7.1a-linux-x86.tar.gzThen "importsce truecrypt-dep"
Move the sce to current dir (note the period at the end of the line, it is part of the command for those not familiar):
mv /etc/sysconfig/tcedir/sce/truecrypt-dep.sce .
Untar the truecrypt tarball:
sudo tar xvf truecrypt-7.1a-linux-x86.tar.gz
Then run the install utility:
sudo ./truecrypt-7.1a-setup-x86
It will ask you whether to install to system or make a package in /tmp, option #2 is make a package in /tmp and do that.
Then unsquash the deps sce and delete it if desired:
sudo unsquashfs -d pkg truecrypt-dep.sce
rm truecryptdep.sce
then untar the package in /tmp to that pkg/ dir:
sudo tar xvf /tmp/truecrypt_7.1a_i386.tar.gz -C pkg/
Now make an sce package of it:
mksquashfs pkg/ truecrypt.sce
mv truecrypt.sce /etc/sysconfig/tcedir/sce/
loadsce truecrypt
#####
If you don't need truecrypt to be part of the dependency sce, it is simpler.
wget
http://www.truecrypt.org/download/truecrypt-7.1a-linux-x86.tar.gzimportsce truecrypt-dep
sudo tar xvf truecrypt-7.1a-linux-x86.tar.gz
sudo ./truecrypt-7.1a-setup-x86 # Pick option 2
sudo tar xvf /tmp/truecrypt_7.1a_i386.tar.gz -C pkg/
sudo mksquashfs pkg/ truecript.sce
mv truecrypt.sce /etc/sysconfig/tcedir/sce/
loadsce truecrypt truecrypt-dep
Though I am not totally against hosting packages or fetch scripts, packages that are not legacy go out of date so fast, and scripts do the same. But how-to's don't get broken by a package update upstream, or if download location has changed, etc. Submitted README's are always welcome and will be at least considered.
I will make a meta package called truecrypt-dep, it is available now. I will also make a README for truecrypt outlining this.