mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
28 lines
673 B
YAML
28 lines
673 B
YAML
distributable:
|
|
url: https://download.gnome.org/sources/libxml2/{{ version.major }}.{{ version.minor }}/libxml2-{{ version }}.tar.xz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: GNOME/libxml2/tags
|
|
ignore:
|
|
- v2.10.z # broken configure (only accepts *specifically* Python 3.1 lol)
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
script: |
|
|
./configure $ARGS
|
|
make --jobs {{ hw.concurrency }}
|
|
make install
|
|
env:
|
|
ARGS:
|
|
- --prefix={{prefix}}
|
|
- --without-python # mysterious build failure in GHA macOS-11
|
|
|
|
test:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
script: |
|
|
cc `xml2-config --cflags --libs` test.c
|
|
./a.out
|