pantry/projects/mesonbuild.com/package.yml
2022-12-12 08:12:15 -07:00

26 lines
No EOL
641 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:
python.org: 3
gnu.org/bash: '>=2' # for our venv/relocation scripts: feel free to fix that
build:
script: |
python-venv.sh meson mesonbuild.com {{version}} {{prefix}} {{deps.python.org.version}} {{deps.python.org.version.major}} {{deps.python.org.version.minor}}
test:
dependencies:
ninja-build.org: 1
tea.xyz/gx/cc: c99
script: |
meson ..
test -f build.ninja
working-directory: build
provides:
- bin/meson