The Debian package control files are stored in a git repository which we will checkout and use. We have to clone it to a very specific location in order to preserve the hard-coded paths in the build scripts. This specific location is almost always available on every flavor of Linux; /tmp

Checkout moose_compiler_package repository

cd /tmp
git clone https://github.com/milljm/moose_compiler_package


Build the Debian redistributable package

There are several operating system directories within moose_compiler_package directory. Obviously were after the UBUNTU_PACKAGE. Perform the following to build your 'deb' redistributable:

export PACKAGES_DIR=/opt/moose
cd /tmp/moose_compiler_package/UBUNTU_PACKAGE