You might also want to look at modules.sourceforge.net . At one time there was a project that was a package manager that expected to install each package using the "modules" framework, but that was years aog and it never got off the ground.
If I had the time I'd be working on that. H