Gitolite has broad similarities to git in terms of packaging requirements.

With that said, here's one way to package gitolite: