The tgcware buildsystem and the package definitions for tgcware for IRIX has been released as opensource under a GPLv3 license.

You can clone the sources from here:

http://gitorious.org/buildpkg

buildpkg is the buildsystem and tgcware-for-irix contains the package definitions.