cmake: do not install libdabba-rpc shlib symlink.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
cmake: do not install libdabba shlib symlink.

Debian packages need to have the shlib version as prefix.
CMake allows to add it and generates a symlink to build the project:

$ stat libdabba.so
  File: `libdabba.so' -> `libdabba.so.0.3'
  [...]

However, the symlink is installed within the deb package and lintian sees
there is something off:
$ lintian libdabba_0.3_amd64.deb
  E: libdabba0.3: md5sums-lists-nonexisting-file usr/lib/libdabba.so
  W: libdabba0.3: non-dev-pkg-with-shlib-symlink usr/lib/libdabba.so.0.3
  usr/lib/libdabba.so

With this change a symlink is created and used to build the project
but it is not added in the install target.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
cmake: add small script to fix debian file perms.

The postinst and shlibs files must have 755 and 644 permissions.
However, right after a fresh git clone, those files are created with
perms 775 and 664.
Because of this lintian throws a warning.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
deb: use 'set -e' instead of 'sh -e' in postinst.

This changes suppress the 'maintainer-script-without-set-e postinst'
pedantic warning.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
Merge pull request #5 from eroullit/fix-deb

Fix remaining debian package errors