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

18 lines
312 B
YAML

distributable:
url: https://pyyaml.org/download/libyaml/yaml-{{version}}.tar.gz
strip-components: 1
versions:
github: yaml/libyaml/tags
# strip: /^v/
build:
script: |
./configure --prefix="{{prefix}}"
make --jobs {{hw.concurrency}} install
test:
script: |
cc test.c -lyaml
./a.out