pantry/projects/digip.org/jansson/package.yml
2023-10-01 20:41:57 -04:00

21 lines
416 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: '*'
script: |
./configure --prefix="{{prefix}}"
make --jobs {{ hw.concurrency }} install
test:
script: |
cc fixture.c -ljansson
./a.out