gioser

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 1472Shell 176Rust 106Markdown 953592 Definitions

⎇ 0a9622c7b055b93800c45afcac7b4774ed231bcc recipes/expat.toml TOML · 28 lines · 1.2 KB History raw

etapa 4: primera tanda desplegada y verificada (3/3) + el desplegador por tandas b344c5803 · 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"
5license = "MIT"
6
7[source]
8tarball = "https://github.com/libexpat/libexpat/releases/download/R_2_8_1/expat-2.8.1.tar.xz"
9sha256  = "10b195ee78160a908388180a8fe3603d4e9a12f4755fbf5f3816b23a9d750da0"
10
11[build]
12compiler = "zig-cc"
13target   = "x86_64-linux-musl"
14link     = "static"
15
16# Split de la info de depuración (SDD 23 etapa 4). Entra en `hash_inputs`: re-hashea a propósito.
17strip_debug = true
18flags    = []
19
20[deps]
21build = ["binutils", "make"]
22
23[build.phases]
24# --with-pic: el .a estático lleva objetos PIC ⇒ enlazable dentro de .so (Mesa liga libexpat en
25# libgallium/xmlconfig; sin PIC: «R_X86_64_PC32 ... recompile with -fPIC»). PIC es superset.
26configure = './configure --build=$CBUILD --host=$CHOST --prefix=/usr --disable-shared --enable-static --with-pic --without-docbook'
27compile   = 'make LDFLAGS="-all-static -no-pie" -j"$(nproc)"'
28install   = 'make DESTDIR=/out install LDFLAGS="-all-static -no-pie"'