pantry/projects/ninja-build.org/package.yml
2022-08-01 22:50:33 -04:00

21 lines
431 B
YAML

distributable:
url: https://github.com/ninja-build/ninja/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/ninja
versions:
github: ninja-build/ninja
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
cmake.org: 3
script: |-
cmake ..
make --jobs {{ hw.concurrency }}
mkdir "{{ prefix }}/bin"
mv ninja "{{ prefix }}/bin"
working-directory: build-cmake