Take a look at: (German)
https://wolfgang.dautermann.at/vortraege/LWE2010-Lightningtalk-cmake-cpack.pdf
https://wiki.ubuntuusers.de/Launchpad/PPA/#Code-in-ein-PPA-laden
There is no newer soprano release in the current ubuntu/debian releases (2019) so this would be helpful to install the sempr deps.