pantry/projects/ninja-build.org/package.yml

24 lines
423 B
YAML
Raw Permalink Normal View History

2022-08-02 05:50:33 +03:00
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 }}
2023-04-14 07:47:17 +03:00
mkdir -p "{{ prefix }}/bin"
2022-08-02 05:50:33 +03:00
mv ninja "{{ prefix }}/bin"
working-directory: build-cmake
2022-08-02 14:43:12 +03:00
test:
script:
ninja --version