pantry/projects/gnome.org/libxml2/package.yml

29 lines
673 B
YAML
Raw Normal View History

2022-08-02 14:15:02 +03:00
distributable:
url: https://download.gnome.org/sources/libxml2/{{ version.major }}.{{ version.minor }}/libxml2-{{ version }}.tar.xz
strip-components: 1
versions:
github: GNOME/libxml2/tags
2022-08-20 00:15:02 +03:00
ignore:
- v2.10.z # broken configure (only accepts *specifically* Python 3.1 lol)
2022-08-02 14:15:02 +03:00
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
2022-08-20 00:15:02 +03:00
./configure $ARGS
2022-08-02 14:15:02 +03:00
make --jobs {{ hw.concurrency }}
make install
2022-08-20 00:15:02 +03:00
env:
ARGS:
- --prefix={{prefix}}
- --without-python # mysterious build failure in GHA macOS-11
2022-08-02 14:15:02 +03:00
test:
dependencies:
tea.xyz/gx/cc: c99
script: |
2022-08-31 21:05:21 +03:00
cc `xml2-config --cflags --libs` test.c
./a.out