cpack: add cpack rules

Add data to the CMake script to produce source.tar.gz, deb, rpm,
win32.zip and win32.exe.