Libslirp is a user-mode networking library used by virtual machines, containers or various tools.
This package is known to build and work properly using an LFS 11.3 platform.
Download (HTTP): https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v4.7.0/libslirp-v4.7.0.tar.bz2
Download MD5 sum: b815c4de99265559caf5ef635a213609
Download size: 107 KB
Estimated disk space required: 3.1 MB
Estimated build time: less than 0.1 SBU
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libslirp
Install libslirp by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr --buildtype=release .. && ninja
This package does not come with a test suite.
Now, as the root
user:
ninja install
--buildtype=release
: Specify a buildtype
suitable for stable releases of the package, as the default may
produce unoptimized binaries.