1 Creating Packages
Liam Waldron edited this page 2022-10-27 09:49:51 -04:00

Creating packages should be fairly straightforward.

Before you begin, this guide assumes you have gpc installed.

First, obtain the source tree of the program you wish to package.

Next, import the Glacier package template:

`$ wget https://git.everestlinux.org/EverestLinux/glacier-pkg-template/raw/branch/main/template.tar.gz && tar -xvf template.tar.gz && mv template/* . && rmdir template`

Edit the pkginfo.json file accordingly.

Edit the INSTALL.sh, UPDATE.sh, and REMOVE.sh files. Each should outline the commands needed for each operation.

Ensure the timestamp file is correct.

From outside the working directory, run:

`$ gpc check package_name`

If all tests return as successful, run:

`$ gpc mkpkg package_name`