2023-02-19 21:02:44 +03:00
|
|
|
|
distributable:
|
|
|
|
|
url: https://download.gnome.org/sources/libxslt/{{ version.marketing }}/libxslt-{{ version }}.tar.xz
|
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
|
|
versions:
|
|
|
|
|
github: GNOME/libxslt/tags
|
|
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
|
gnome.org/libxml2: '*'
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
dependencies:
|
|
|
|
|
freedesktop.org/pkg-config: ^0.29
|
|
|
|
|
gnu.org/patch: '*'
|
|
|
|
|
script: |
|
|
|
|
|
patch -p1 < props/xslt-config.patch.in
|
|
|
|
|
|
|
|
|
|
./configure $ARGS
|
|
|
|
|
make --jobs {{ hw.concurrency }}
|
|
|
|
|
make install
|
|
|
|
|
|
|
|
|
|
cd "{{prefix}}/bin"
|
|
|
|
|
sed -i.bak \
|
|
|
|
|
-e 's|{{prefix}}|"$prefix"|g' \
|
|
|
|
|
-e 's|{{deps.gnome.org/libxml2.prefix}}|""$libxml2_prefix""|g' \
|
|
|
|
|
xslt-config
|
|
|
|
|
rm xslt-config.bak
|
|
|
|
|
env:
|
|
|
|
|
ARGS:
|
|
|
|
|
- --prefix={{prefix}}
|
2023-10-02 03:41:57 +03:00
|
|
|
|
- --without-python # we don’t yet know how to support this
|
|
|
|
|
- --without-plugins # doesn’t build and we couldn’t debug
|
2023-02-19 21:02:44 +03:00
|
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
script: |
|
|
|
|
|
cc `xslt-config --cflags --libs` test.c
|
|
|
|
|
./a.out
|
|
|
|
|
|
|
|
|
|
provides:
|
|
|
|
|
- bin/xslt-config
|
|
|
|
|
- bin/xsltproc
|