pantry/projects/ninja-build.org/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

24 lines
423 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:
cmake.org: 3
script: |-
cmake ..
make --jobs {{ hw.concurrency }}
mkdir -p "{{ prefix }}/bin"
mv ninja "{{ prefix }}/bin"
working-directory: build-cmake
test:
script:
ninja --version