Novena packaging overview
Novena packages are built as .deb files from source. The majority of files live in git, so you should use git-buildpackage to build the output .deb file.
All packages have tagged releases, and you must pass this release name to git-buildpackage in the form of --git-upstream-tag. The basic steps you should take to build a package are:
- Clone the repo using git
- List available tags
- Build a package using git-buildpackage
- Copy the resulting .deb file to the target machine
An example of the steps to take to build u-boot-novena:
git clone https://github.com/xobs/u-boot-novena.git git-buildpackage -us -uc --git-upstream-tag=v2014.10-novena-rc5
This will result in a few files getting generated in the parent directory:
xobs@xobs-novena ~/C/n/u-boot-novena-1.0> ls ../u-boot-novena_2014.10-novena* ../u-boot-novena_2014.10-novena.orig.tar.gz ../u-boot-novena_2014.10-novena-rc5_armhf.build ../u-boot-novena_2014.10-novena-rc5_armhf.changes ../u-boot-novena_2014.10-novena-rc5_armhf.deb ../u-boot-novena_2014.10-novena-rc5.debian.tar.xz ../u-boot-novena_2014.10-novena-rc5.dsc xobs@xobs-novena ~/C/n/u-boot-novena-1.0>
These same steps can be taken for any files packaged for Novena.