C framework for Glacier package manager
Go to file
2024-12-30 14:27:44 -05:00
etc add finishing touches for v4.0.3-rc 2024-12-28 13:04:11 -05:00
include v4.0.4-rc 2024-12-30 14:27:44 -05:00
pkg add finishing touches for v4.0.3-rc 2024-12-28 13:04:11 -05:00
config.h v4.0.0-rc4 - add config parsing 2024-10-20 17:10:29 -04:00
config.mk v4.0.0-rc5 - add dependency tree data type support 2024-10-22 10:56:37 -04:00
libglacier.c fix compilation error on line 131 2024-12-28 13:06:52 -05:00
Makefile v4.0.2-rc - modify return values for some functions 2024-12-15 11:57:08 -05:00
README v4.0.0-rc4 - add config parsing 2024-10-18 18:00:17 -04:00
VERSION add finishing touches for v4.0.3-rc 2024-12-28 13:04:11 -05:00

+ libglacier

The underlying C libraries for the Glacier package manager

+ Rationale

Glacier has been written in Bash since its conception. For obvious reasons, this is terrible for portability.
While writing an entire library for a project that's been in the works for a year at this point will take
much more time, it should futureproof Glacier and make it easier to deploy and test.

+ Usage

	#include <glacier_config.h>
	#include <glacier_log.h>
	#include <glacier_pkgops.h>
	#include <glacier_runtime.h>

See the relevant documentation for more information on libglacier functions.

+ Installation

Libglacier requires the following libraries to compile:

	- libcolor
	- libconfig

Once these are installed, you can continue with the installation.

Clone this repository:

	$ git clone https://git.everestlinux.org/EverestLinux/libglacier

Enter the directory and edit config.mk:

	$ cd libglacier
	$ $EDITOR config.mk

Build the library:

	$ make

NOTE: libglacier is distributed as a static library only.

Install the library and header files:

	# make install

+ Linking

To link libglacier into your program, ensure the proper header files are included.
Then simply add the following to your compiler flags:

	-lglacier

+ Documentation

Online documentation can be found at https://everestlinux.org/docs/libglacier
Offline documentation can be accessed with the following command:

	$ man libglacier