Or use FPM (<a href="https:&#x2F;&#x2F;github.com&#x2F;jordansissel&#x2F;fpm&#x2F;wiki" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jordansissel&#x2F;fpm&#x2F;wiki</a>) and abstract the whole packaging idea. linux and mac packages supported.