Added CPack configuration.

Currently this is very basic and only supporting .tar.gz files.