mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
32 lines
675 B
YAML
32 lines
675 B
YAML
distributable:
|
|
url: https://github.com/stedolan/jq/releases/download/jq-{{version.raw}}/jq-{{version.raw}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: stedolan/jq/releases
|
|
strip: /jq /
|
|
|
|
dependencies:
|
|
github.com/kkos/oniguruma: 6
|
|
|
|
build:
|
|
dependencies:
|
|
linux:
|
|
llvm.org: '>=12<15'
|
|
git-scm.org: 2
|
|
script:
|
|
- run: |
|
|
if test "{{hw.platform}}" = "darwin"; then
|
|
git apply props/darwin.diff
|
|
git apply props/lgamma_r.diff
|
|
fi
|
|
if: <1.7
|
|
- ./configure --disable-maintainer-mode --prefix={{prefix}}
|
|
- make install
|
|
|
|
test:
|
|
script: test $(jq .devs[1].github < test.json) = '"jhheider"'
|
|
|
|
provides:
|
|
- bin/jq
|