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 1572Shell 203Rust 109Markdown 993728 Sutichaykuna

⎇ main recipes/incoming-kde/perl-xml-parser.toml TOML · 29 siq'ikuna · 1.0 KB Ñawpa willay ch'uya

licencias 97% (1132/1165): «no hay fichero» y «no reconozco el texto» no son lo mismo 59a0e56a1 · Sergio ·

1# XML::Parser 2.47 — módulo Perl (wrapper de expat). Build-tool: intltool lo exige (XML::Parser required).
2# Se instala en el árbol de perl (site_perl). perl grabó en Config.pm un cc temporal (del build de perl,
3# ya inexistente) ⇒ override CC/LD con un wrapper zig en el make. Necesita expat (sellado) + perl.
4name    = "perl-xml-parser"
5version = "2.47"
6license = "Artistic-2.0"
7
8[source]
9tarball = "https://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-2.47.tar.gz"
10sha256  = "ad4aae643ec784f489b956abe952432871a622d4e2b5c619e8855accbfc4d1d8"
11
12[build]
13compiler    = "zig-cc"
14target      = "x86_64-linux-musl"
15link        = "dynamic"
16zig_version = "0.13.0"
17flags       = []
18
19[build.phases]
20configure = '''
21ZW="$PWD/.zwrap"; mkdir -p "$ZW"
22printf '#!/bin/sh\nexec /opt/zig/zig cc -mcpu=baseline "$@"\n' > "$ZW/cc"; chmod +x "$ZW/cc"
23perl Makefile.PL EXPATLIBPATH=/usr/lib EXPATINCPATH=/usr/include
24'''
25compile   = 'make CC="$PWD/.zwrap/cc" LD="$PWD/.zwrap/cc"'
26install   = 'make install DESTDIR=/out'
27
28[deps]
29build = ["pkgconf", "perl", "expat"]