Package building and manual update

Hi,

I've made a few changes to make the package building work on Ubuntu 12.04 and updated the manual page.  I'd be happy if the changes could be merged.

Thanks!
Hans