mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
26 lines
609 B
YAML
26 lines
609 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
|
|
strip: /jq /
|
|
|
|
dependencies:
|
|
github.com/kkos/oniguruma: 6
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
git-scm.org: 2
|
|
script: |
|
|
if test '{{hw.platform}}' = 'darwin'; then
|
|
git apply props/darwin.diff
|
|
git apply props/lgamma_r.diff
|
|
fi
|
|
./configure --disable-maintainer-mode --prefix={{prefix}}
|
|
make install
|
|
|
|
test:
|
|
script: test $(jq .devs[1].github < test.json) = '"jhheider"'
|