I havn't fully thought this through yet, but adding some basic dependency management would be interesting. If a program needed say allegro as packaged by Joe, it could specify depends="joe.com/allegro" .
Libraries would also have their own pxml file stating what they provide, and a list of...