pantry/projects/pyyaml.org/package.yml
2022-11-26 11:04:07 -05:00

23 lines
415 B
YAML

distributable:
url: https://pyyaml.org/download/libyaml/yaml-{{version}}.tar.gz
strip-components: 1
versions:
github: yaml/libyaml/tags
# strip: /^v/
build:
dependencies:
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 test.c -lyaml
./a.out