# xtrans 1.5.2 — capa de abstracción de transporte de X (sockets unix/tcp/local), distribuida como
# HEADERS + macros (sin .so). Capa 0 de la campaña KDE (ADR 0011); dep de build de libX11 (y de servidores
# X). Autotools; sólo instala cabeceras Xtrans*.h y xtrans.pc. util-macros para las macros del configure.
name    = "xtrans"
version = "1.5.2"
license = "MIT"

[source]
tarball = "https://www.x.org/releases/individual/lib/xtrans-1.5.2.tar.xz"
sha256  = "5c5cbfe34764a9131d048f03c31c19e57fb4c682d67713eab6a65541b4dff86c"

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

[build.phases]
configure = "./configure --prefix=/usr"
compile   = "make -j\"$(nproc)\""
install   = "make install DESTDIR=/out"

[deps]
build = ["pkgconf", "util-macros"]
