mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
22 lines
518 B
YAML
22 lines
518 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:
|
|
dependencies:
|
|
script: |
|
|
./configure --prefix={{ prefix }}
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
test:
|
|
dependencies:
|
|
script: |
|
|
cc test.c -lexpat -o test
|
|
OUTPUT="$(./test)"
|
|
test "$OUTPUT" = "tag:str|data:Hello, world!|"
|
|
|
|
provides:
|
|
- bin/xmlwf |