Meson is an open source build system meant to be both extremely fast and as user friendly as possible.
This section is not strictly required for LFS if not using systemd. On the other hand, meson/ninja is a powerful build system, which is expected to be used more and more often. It is required for several packages in the BLFS book.
Compile Meson with the following command:
pip3 wheel -w dist --no-build-isolation --no-deps $PWD
The test suite requires some packages out of the scope of LFS.
Install the package:
pip3 install --no-index --find-links dist meson install -vDm644 data/shell-completions/bash/meson /usr/share/bash-completion/completions/meson install -vDm644 data/shell-completions/zsh/_meson /usr/share/zsh/site-functions/_meson
The meaning of the install parameters:
-w
dist
Put the created wheels into the dist
directory.
--find-links
dist
Install wheels from the dist
directory.