# libxslt 1.1.43 — transformaciones XSLT (libxslt.so + el binario **xsltproc**). Campaña KDE (ADR 0011):
# ModemManager lo NECESITA de verdad — include/meson.build:25 corre xsltproc sobre header-generator.xsl
# para GENERAR ModemManager-names.h (no es sólo documentación, como en NetworkManager, donde xsltproc
# sólo servía a man/ y se pudo degradar a required:false).
#
# Contra la variante libxml2 de esta cola (--enable-shared --with-pic); la canónica es static-sin-PIC.
# Sin python/crypto (libgcrypt sólo aporta la extensión EXSLT crypto, prescindible).
name    = "libxslt"
version = "1.1.43"

[source]
tarball = "https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.43.tar.xz"
sha256  = "5a3d6b383ca5afc235b171118e90f5ff6aa27e9fea3303065231a6d403f0183a"

[build]
compiler = "zig-cc"
target   = "x86_64-linux-musl"
link     = "dynamic"
flags    = []

[build.phases]
configure = './configure --build=$CBUILD --host=$CHOST --prefix=/usr --enable-shared --disable-static --without-python --without-crypto --with-libxml-prefix=/usr'
compile   = 'make -j"$(nproc)"'
install   = "make DESTDIR=/out install && find /out -name '*.la' -delete"

[deps]
build = ["pkgconf", "libxml2", "zlib-shared", "xz-shared"]
