tawasuyu

sergio/takana

> Una distribución Linux construida con un laboratorio funcional y hermético en el > sótano, y una terminal mutable, clásica y anárquica en el piso de arriba — diseñada > desde el suelo para que una IA programadora entienda, modifique y co…

TOML 1299Shell 92Rust 63Markdown 561634 Definiciones

⎇ 5e4dd7ab9d9fe9dbddb0e532e85260b81f12d1f0 recipes/expat.toml TOML · 24 líneas · 1.0 KB Historia crudo

static: expat, libpng y libxml2 cumplen link=static (3 más de 28) 21040487e · sergio ·

1# expat 2.8.1 — parser XML stream (C). Lib base: dep de cola C (fontconfig, dbus, etc.) y crates -sys.
2# De-Alpinizada (Etapa G): compiler=zig-cc (migrado de gcc, matar-gcc 2026-07-16), configure-split explícito, estático. Sin deps externas.
3name    = "expat"
4version = "2.8.1"
5
6[source]
7tarball = "https://github.com/libexpat/libexpat/releases/download/R_2_8_1/expat-2.8.1.tar.xz"
8sha256  = "10b195ee78160a908388180a8fe3603d4e9a12f4755fbf5f3816b23a9d750da0"
9
10[build]
11compiler = "zig-cc"
12target   = "x86_64-linux-musl"
13link     = "static"
14flags    = []
15
16[deps]
17build = ["make"]
18
19[build.phases]
20# --with-pic: el .a estático lleva objetos PIC ⇒ enlazable dentro de .so (Mesa liga libexpat en
21# libgallium/xmlconfig; sin PIC: «R_X86_64_PC32 ... recompile with -fPIC»). PIC es superset.
22configure = './configure --build=$CBUILD --host=$CHOST --prefix=/usr --disable-shared --enable-static --with-pic --without-docbook'
23compile   = 'make LDFLAGS="-all-static -no-pie" -j"$(nproc)"'
24install   = 'make DESTDIR=/out install LDFLAGS="-all-static -no-pie"'