pantry/projects/libexpat.github.io/package.yml

25 lines
589 B
YAML
Raw Normal View History

2022-08-03 00:47:52 +03:00
distributable:
url: https://github.com/libexpat/libexpat/releases/download/R_{{ version.major }}_{{ version.minor }}_{{ version.patch }}/expat-{{ version }}.tar.xz
strip-components: 1
versions:
2023-04-14 05:57:50 +03:00
github: libexpat/libexpat/releases
2022-08-03 00:47:52 +03:00
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: |
2022-08-31 21:05:21 +03:00
cc test.c -lexpat -o test
2022-08-03 00:47:52 +03:00
OUTPUT="$(./test)"
test "$OUTPUT" = "tag:str|data:Hello, world!|"
2022-11-18 21:43:48 +03:00
provides:
- bin/xmlwf