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

33 lines
722 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:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
2022-12-09 23:57:12 +03:00
linux:
llvm.org: '>=12<15'
2022-10-15 04:16:16 +03:00
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}}
- 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