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

98.18. libbytesize-2.12

Library for working with arbitrarily large sizes in bytes

2.12-1 · LGPL-2.1-or-later · 0.2 SBU · 69.6 KiB, 6 files · 41_system, 399 of 1047 · ports/core/disk/libbytesize

Homepage: https://github.com/storaged-project/libbytesize

Depends on: gmp, mpfr, pcre2, gettext.

Required by (1): libblockdev.

Sources: libbytesize-2.12.tar.gz (461.4 KiB). Every step kpkg takes applies to this port.

Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

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

build.sh:

export CFLAGS="$CFLAGS -Wno-error"
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --disable-static \
	--without-python3 \
	--without-gtk-doc \
	--without-tools
make
make DESTDIR=$PKG install

Libraries: libbytesize.so.

Directories: /usr/include/bytesize, /usr/share/licenses/libbytesize.