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 1574Shell 204Rust 111Markdown 993763 Definiciones

⎇ main tandas/staged-2026-06-26/mutt.toml TOML · 67 líneas · 2.0 KB Historia crudo

Etapa G: fuel-5 — recarga la cola del VPS (parado 14h sin producir) 08fdec3bb · 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    = "mutt"
5version = "2.4.0"
6
7[source]
8tarball = "http://ftp.mutt.org/pub/mutt/mutt-2.4.0.tar.gz"
9# FIXME sha256: el wrapper lo calcula (Alpine publica sha512). sha512 de Alpine:
10# sha512 = "c0c849136be8eb8dcc4b45c5a602e17e3f4405cb1d9bb82f18ca01d7fd2e0bef176b67676528e340e430ae00632925d255b5a4cd195cb4addaa2341a71e2b23d"
11sha256  = "8f6ca2ef42f8f07cdc8ec391e8aa41a702490eae55ac72016b0b94ddf44ae292"
12
13[build]
14compiler = "zig-cc"
15target   = "x86_64-linux-musl"
16link     = "static"
17flags    = []
18
19[build.phases]
20# de build() de Alpine (traducido; el lab provee $CBUILD/$CHOST — Etapa G Fase 3; revisá --shared para estático):
21compile = '''
22_abuild_phase() {
23ISPELL=/usr/bin/hunspell \
24	./configure \
25		--build=$CBUILD \
26		--host=$CHOST \
27		--prefix=/usr \
28		--sysconfdir=/etc \
29		--mandir=/usr/share/man \
30		--infodir=/usr/share/info \
31		--enable-imap \
32		--enable-pop \
33		--enable-smtp \
34		--enable-hcache \
35		--enable-gpgme \
36		--enable-sidebar \
37		--with-curses \
38		--with-mailpath=/var/mail \
39		--with-docdir=/usr/share/doc/mutt \
40		--without-included-gettext \
41		--with-ssl \
42		--with-gsasl \
43		--with-idn2
44	make
45}
46_abuild_phase
47'''
48# de package() de Alpine (traducido $pkgdir→/out):
49install = '''
50_abuild_phase() {
51make DESTDIR="/out" install
52
53	rm -f "/out"/etc/*.dist \
54		"/out"/etc/mime.types
55
56	# Don't tamper with the global configuration file.
57	# Many options set in the global config cannot be
58	# overwritten in the users configuration file.
59	# Example: Resetting colors isn't possible.
60	install -Dm644 contrib/gpg.rc \
61		"/out"/etc/Muttrc.gpg.dist
62}
63_abuild_phase
64'''
65
66[deps]
67build = ["elinks", "docbook-xml", "docbook-xsl", "gdbm", "gettext", "gpgme", "libidn2", "libgsasl", "ncurses", "openssl-dev>3", "perl"]