Linux packaging

Run ccmake, then run make package and it should build a DEB or RPM package depending on what you set to CPACK_GENERATOR (default is DEB).

It may impact mac or windows packaging, please let me know.