pantry/projects/digip.org/jansson/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

22 lines
No EOL
443 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:
script: |
./configure --prefix="{{prefix}}"
make --jobs {{ hw.concurrency }} install
test:
dependencies:
script: |
cc fixture.c -ljansson
./a.out