You can clone with
Can you please add a generic way to install packages? (emerge, apt-get)
For gentoo, some packages need unmasking first (see https://github.com/damm/ey-emerge/tree/master/emerge/definitions).
I will be implementing Virtual Package Management "VPM" API, it's something I need for RVM 2.0 to clean the dependency management (and to make full use of system available resources).