3.53. meson-0.63.1

#!/bin/sh
# Copyright © 1999-2022 Gerard Beekmans
# Copyright © 2020-2022 Random Crew
# Distributed under the terms of MIT License.

Configuration

src_config()
{
    pip3 wheel \
        -w dist \
        --no-build-isolation \
        --no-deps \
        $(pwd)
}

Compilation

src_compile()
{
    return
}

Installation

src_install()
{
    mkdir -p ${D}${PREFIX}
    pip3 install --no-index --find-links dist --prefix ${D}${PREFIX} meson
    install -vDm644 data/shell-completions/bash/meson \
        ${D}${PREFIX}/share/bash-completion/completions/meson
    install -vDm644 data/shell-completions/zsh/_meson \
        ${D}${PREFIX}/share/zsh/site-functions/_meson
}

Build code

meson.build

Other files

meta.txt

Links

url.lfs: https://linuxfromscratch.org/lfs/view/11.2/chapter08/meson.html