Awful attempt to create a working version of the now unmaintained Megabuild 6.