/honey

Simple package manager for unix/linux systems

Primary LanguageCBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Honey

honey is intended to be a unix-like OS package manager and archive structure format for packages. It is distributed under BSD 3-Clause license, see LICENSE.

It is meant to be composed of a C library and a command line utility.

It keeps in mind the desire to stay embeddable without any compromise on its scalability. However it isn't meant to be used directly, you should build your providers around it. The command line utility is meant for shell script providers, recovery or advanced users.

How to make and extract a package?

The format is documented in the repository. Supposing the archive name is in $PACKAGE you may respectively create and extract honey packages with the following commands:

cpio -c -o | xz -C crc32 --lzma2 > "$PACKAGE"
unxz -C crc32 --lzma2 < "$PACKAGE" | cpio -c -i

Note: You can also replace crc32 with none.

Configure, build and install

Meson is used to configure, build and install binaires and documentations:

meson setup build
meson compile -C build
meson install -C build

Documentation

HTML documentation for the library is built using Doxygen. The documentation is built through the doc target.

meson compile -C build doc

Tests

Meson is also used to manage the test suite:

meson test -C build