last thing: there seems to be already an Ubuntu package, so for sure you should start from that packaging. https://launchpad.net/ubuntu/+source/libgdamm5.0 G.