pantry/projects/digip.org/jansson/package.yml

25 lines
516 B
YAML
Raw Normal View History

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