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

105.23. asio-1.38.2

Standalone, header-only C++ networking and asynchronous I/O library, without Boost

1.38.2-1 · BSL-1.0 · 0.5 SBU · 5.1 MiB, 637 files · 41_system, 801 of 1047 · ports/core/net-libs/asio

Homepage: https://think-async.com/Asio/

Depends on: autoconf, automake.

Required by (1): widelands.

Sources: asio-1.38.2.tar.gz (2.8 MiB). 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 asio'

build.sh:

./autogen.sh
./configure --prefix=/usr --without-boost --without-openssl
make -C include DESTDIR=$PKG install
make DESTDIR=$PKG install-noarch_pkgconfigDATA
install -Dm644 LICENSE_1_0.txt "$PKG/usr/share/licenses/asio/LICENSE_1_0.txt"

Directories: /usr/include/asio, /usr/share/licenses/asio.