Optware-wdtvlive is a project mainly written in SHELL and C, it's free.
Optware with with wdtvlive
For instructions on how to build packages using this build system, see:
http://www.nslu2-linux.org/wiki/Optware/AddAPackageToOptware