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

⎇ 7d36e12edf7edd3ff511e6c9f0095b3be6deb40a recipes/incoming/wild.toml TOML · 39 lines · 1.4 KB History raw

Etapa G: fuel-4 — buffer de cola para el VPS tras recuperar conexión 7d36e12ed · sergio ·

1# Importada de Alpine aports por `hammer import-alpine` (Etapa G). PUNTO DE PARTIDA — pero
2# YA trae los parches de musl de Alpine (lo que un import de nix pierde). Pendiente: el
3# sha256 del tarball (el wrapper lo calcula), y adaptar build/install del shell de abuild.
4name    = "wild"
5version = "0.8.0"
6
7[source]
8tarball = "https://github.com/davidlattimore/wild/archive/refs/tags/0.8.0.tar.gz"
9# FIXME sha256: el wrapper lo calcula (Alpine publica sha512). sha512 de Alpine:
10# sha512 = "dc88b41cdfbbdbff69c4dedf121e30dc5f3543bfab0eb53ebcc35590a200582d2157f752effd0750d9862addd92252dc1e61e60b545a5bb9dcff4a59adcd9217"
11sha256  = "3828028f41c668caf02aa9ffc4dc3bd1a33b4957eb66a7aa015f7c92e4f064ce"
12patches = ["fix-riscv64-test.patch"]
13
14[build]
15compiler = "zig-cc"
16target   = "x86_64-linux-musl"
17link     = "static"
18flags    = []
19
20[build.phases]
21# de build() de Alpine (traducido; el lab provee $CBUILD/$CHOST — Etapa G Fase 3; revisá --shared para estático):
22compile = '''
23_abuild_phase() {
24# https://github.com/davidlattimore/wild/blob/main/PACKAGING.md
25	cargo auditable build --frozen --features mimalloc --profile dist
26}
27_abuild_phase
28'''
29# de package() de Alpine (traducido $pkgdir→/out):
30install = '''
31_abuild_phase() {
32install -Dm 755 target/dist/wild "/out"/usr/bin/wild
33
34	install -Dm 644 LICENSE-APACHE LICENSE-MIT -t "/out"/usr/share/licenses/"wild"/
35}
36_abuild_phase
37'''
38
39# depends de runtime de Alpine (NO build-deps): clang