mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
25 lines
No EOL
580 B
YAML
25 lines
No EOL
580 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
|
|
|
|
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 -lexpat -o test
|
|
OUTPUT="$(./test)"
|
|
test "$OUTPUT" = "tag:str|data:Hello, world!|"
|
|
|
|
provides:
|
|
- bin/xmlwf |