Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

88.13. libconfig-1.8.2

Structured configuration file library for C and C++

1.8.2-1 · LGPL-2.1-or-later · 0.4 SBU · 435.2 KiB, 14 files · 41_system, 401 of 1047 · ports/core/formats/libconfig

Homepage: https://hyperrealm.github.io/libconfig/

Depends on: texinfo.

Required by (2): libstoragemgmt, udisks2.

Sources: libconfig-1.8.2.tar.gz (787.5 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libconfig'

build.sh:

./configure \
	--prefix=/usr \
	--sysconfdir=/etc \
	--libdir=/usr/lib \
	--disable-static \
	--enable-cxx \
	--disable-examples \
	--disable-tests
make
make DESTDIR=$PKG install

Libraries: libconfig++.so, libconfig.so.

Directories: /usr/lib/cmake/libconfig, /usr/lib/cmake/libconfig++, /usr/share/licenses/libconfig.