pantry/projects/libexpat.github.io/package.yml
Jacob Heider e54a43db8f
fix(libexpat)
remove *.la
2024-04-18 19:13:56 -04:00

21 lines
521 B
YAML

distributable:
url: https://github.com/libexpat/libexpat/releases/download/R_{{ version.major }}_{{ version.minor }}_{{ version.patch }}/expat-{{ version }}.tar.xz
strip-components: 1
versions:
github: libexpat/libexpat/releases
build:
- ./configure --prefix={{ prefix }}
- make --jobs {{ hw.concurrency }} install
- run: rm *.la
working-directory: ${{ prefix }}/lib
test:
- cc test.c -lexpat -o test
- OUTPUT="$(./test)"
- test "$OUTPUT" = "tag:str|data:Hello, world!|"
provides:
- bin/xmlwf