pantry/projects/mesonbuild.com/package.yml
Jacob Heider e9a2d84abb
fix(meson)
linux needs libpython
2024-03-06 18:24:52 -05:00

32 lines
611 B
YAML

distributable:
url: https://github.com/mesonbuild/meson/releases/download/{{version}}/meson-{{version}}.tar.gz
strip-components: 1
versions:
github: mesonbuild/meson/tags
dependencies:
pkgx.sh: ^1
linux:
python.org: ~3.11 # needs libpython3.11.so.1.0
build:
dependencies:
python.org: ~3.11
script:
- bkpyvenv stage {{prefix}} {{version}}
- ${{prefix}}/venv/bin/pip install .
- bkpyvenv seal {{prefix}} meson
test:
dependencies:
ninja-build.org: ^1
llvm.org: <17
script: |
meson ..
test -f build.ninja
working-directory: build
provides:
- bin/meson