mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 09:55:06 +03:00
25 lines
516 B
YAML
25 lines
516 B
YAML
|
distributable:
|
||
|
url: https://github.com/akheron/jansson/releases/download/v{{ version.raw }}/jansson-{{ version.raw }}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
github: akheron/jansson/tags
|
||
|
strip: /^v/
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
linux:
|
||
|
gnu.org/gcc: '*'
|
||
|
darwin:
|
||
|
tea.xyz/gx/cc: c99
|
||
|
tea.xyz/gx/make: '*'
|
||
|
script: |
|
||
|
./configure --prefix="{{prefix}}"
|
||
|
make --jobs {{ hw.concurrency }} install
|
||
|
|
||
|
test:
|
||
|
dependencies:
|
||
|
tea.xyz/gx/cc: c99
|
||
|
script: |
|
||
|
cc fixture.c -ljansson
|
||
|
./a.out
|