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

32 lines
708 B
YAML
Raw Normal View History

2022-08-02 14:15:02 +03:00
distributable:
2022-09-18 23:15:38 +03:00
url: https://download.gnome.org/sources/libxml2/{{ version.marketing }}/libxml2-{{ version }}.tar.xz
2022-08-02 14:15:02 +03:00
strip-components: 1
versions:
github: GNOME/libxml2/tags
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-09-18 23:15:38 +03:00
cd {{prefix}}/bin
sed -i.bak 's|{{prefix}}|"$(cd "$(dirname "$0")/.." \&\& pwd)"|' xml2-config
rm *.bak
2022-08-20 00:15:02 +03:00
env:
ARGS:
- --prefix={{prefix}}
- --without-python # mysterious build failure in GHA macOS-11
2022-10-20 03:24:57 +03:00
- --without-lzma
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