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:
|
|
|
|
github: stedolan/jq
|
|
|
|
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
|
|
|
|
script: |
|
2022-10-21 05:40:24 +03:00
|
|
|
if test '{{hw.platform}}' = 'darwin'; then
|
|
|
|
git apply props/darwin.diff
|
|
|
|
git apply props/lgamma_r.diff
|
|
|
|
fi
|
2022-10-15 04:16:16 +03:00
|
|
|
./configure --disable-maintainer-mode --prefix={{prefix}}
|
|
|
|
make install
|
|
|
|
|
|
|
|
test:
|
|
|
|
script: test $(jq .devs[1].github < test.json) = '"jhheider"'
|
2022-11-18 21:43:48 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/jq
|