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

88.16. inih-r62

Tiny C library for parsing INI files (exiv2, xfsprogs and imv read their configuration with it)

r62-2 · BSD-3-Clause · 0.3 SBU · 74.9 KiB, 9 files · 41_system, 511 of 1047 · ports/core/formats/inih

Homepage: https://github.com/benhoyt/inih

Depends on: meson, ninja.

Required by (3): exiv2, imv, xfsprogs.

Sources: inih-r62.tar.gz (21.6 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 inih'

build.sh:

meson setup build \
	--prefix=/usr --libdir=lib \
	--buildtype=release \
	-Ddefault_library=shared \
	-Dwith_INIReader=true \
	-Ddistro_install=true
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

Libraries: libINIReader.so, libinih.so.

Directories: /usr/share/licenses/inih.