|PACK(5)||File Formats Manual||PACK(5)|
pack — pack file
pack is the name given to compressed
archives used by pm(1) to install
softwares under a directory.
The pack name is used to extract informations about it content, and should follow a strict naming scheme: <name>@<version>.<ext>.
The regex used to match pack names is as follows (case sensitive):
name used for packs should remain the original software name, unless it doesn't match the regex above. In this case, the name should be changed to fit the convention used.
Libraries pack names MUST be named "lib<name>". For example, the pack for "zlib" would be named "libz@<version>.<ext>".
A pack is a compressed
containing all the files and sub directories meant to be extracted under the
$ROOT directory (See
pm(1)). Supported compression
bin/ bin/pm share/ share/man/ share/man/man1/ share/man/man1/pm.1 share/man/man5/ share/man/man5/pack.5
In order to create a pack suitable for use with pm(1), you can use external tools to first install your pack into a specific directory, change to this directory and archive its content.
make make DESTDIR=$PWD/tmproot PREFIX= install tar -C ./tmproot -f /email@example.com -cj .
You can then check the content of this pack with:
tar -f /firstname.lastname@example.org -tj
Willy Goiffon <email@example.com>