pantry/projects/stedolan.github.io/jq/package.yml

31 lines
671 B
YAML
Raw Normal View History

2022-10-15 04:16:16 +03:00
distributable:
url: https://github.com/stedolan/jq/releases/download/jq-{{version.raw}}/jq-{{version.raw}}.tar.gz
strip-components: 1
versions:
2023-04-15 05:25:59 +03:00
github: stedolan/jq/releases
2022-10-15 04:16:16 +03:00
strip: /jq /
2022-10-21 06:08:20 +03:00
dependencies:
github.com/kkos/oniguruma: 6
2022-10-15 04:16:16 +03:00
build:
dependencies:
git-scm.org: 2
2023-09-07 02:09:31 +03:00
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}}
2023-12-13 23:11:35 +03:00
- make -j {{hw.concurrency}}
2023-09-07 02:09:31 +03:00
- make install
2022-10-15 04:16:16 +03:00
test:
script: test $(jq .devs[1].github < test.json) = '"jhheider"'
2022-11-18 21:43:48 +03:00
provides:
- bin/jq