I wrote a recipe for Ian Taylor's Linkers and Loaders series blog posts beginning at at
http://www.airs.com/blog/archives/38. Ian Taylor is the author of the gold linker and the whole blog series is very informative.
License is GPLv3 like Calibre, Git repository at
https://github.com/cataliniacob/calibre-recipes, zip with current version attached.