Update 'Creating Packages'
parent
d1edf27828
commit
b9e2e83838
23
Creating-Packages.md
Normal file
23
Creating-Packages.md
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
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`
|
Loading…
Reference in New Issue
Block a user