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 815Rust 56Shell 37Markdown 291229 Definiciones

Etapa G: libs C base libssh2 + libpng + libyaml (corpus 246→249)

libssh2 1.11.1 (libssh2.a, crypto openssl), libpng 1.6.58 (libpng16.a vs zlib),
libyaml 0.2.5 (libyaml.a). GOTCHA: libpng usa AC_CHECK_LIB link-test para zlib
(no pkg-config) ⇒ requiere CPPFLAGS=-I/usr/include LDFLAGS=-L/usr/lib explícitos.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

d10b51ea0a54e0950f5881d1e4277056ee621d67 · por sergio · (hace 3 meses) · padre 5ec0d61b6 · ver el árbol en este commit

Delta semántico

Ninguna definición cambió: el cambio es de texto, documentación o datos.

3 archivos · +52 −0

diff --git a/recipes/libpng.toml b/recipes/libpng.toml
new file mode 100644
index 00000000..c265a20c
--- /dev/null
+++ b/recipes/libpng.toml
@@ -0,0 +1,18 @@
+# libpng 1.6.58 → libpng16.a (C, autotools). Lib base imágenes: png crates, cola gráfica.
+# De-Alpinizada: compiler=gcc, configure-split, contra zlib del corpus, estático.
+name    = "libpng"
+version = "1.6.58"
+[source]
+tarball = "https://downloads.sourceforge.net/libpng/libpng-1.6.58.tar.gz"
+sha256  = "8c9b05b675ca7301a458df2c2e46f26e1d41ff36b8863f8c33530bc58c2e6225"
+[build]
+compiler = "gcc"
+target   = "x86_64-linux-musl"
+link     = "static"
+flags    = []
+[build.phases]
+configure = './configure --build=$CBUILD --host=$CHOST --prefix=/usr --disable-shared --enable-static CPPFLAGS=-I/usr/include LDFLAGS=-L/usr/lib'
+compile   = 'make'
+install   = 'make DESTDIR=/out install'
+[deps]
+build = ["zlib"]
diff --git a/recipes/libssh2.toml b/recipes/libssh2.toml
new file mode 100644
index 00000000..23f89da7
--- /dev/null
+++ b/recipes/libssh2.toml
@@ -0,0 +1,18 @@
+# libssh2 1.11.1 → libssh2.a (C, autotools). Lib base SSH: ssh2-sys (git tools, scp/sftp).
+# De-Alpinizada: compiler=gcc, configure-split, crypto vía openssl del corpus, estático.
+name    = "libssh2"
+version = "1.11.1"
+[source]
+tarball = "https://www.libssh2.org/download/libssh2-1.11.1.tar.gz"
+sha256  = "d9ec76cbe34db98eec3539fe2c899d26b0c837cb3eb466a56b0f109cabf658f7"
+[build]
+compiler = "gcc"
+target   = "x86_64-linux-musl"
+link     = "static"
+flags    = []
+[build.phases]
+configure = './configure --build=$CBUILD --host=$CHOST --prefix=/usr --disable-shared --enable-static --with-crypto=openssl --disable-examples-build'
+compile   = 'make'
+install   = 'make DESTDIR=/out install'
+[deps]
+build = ["openssl", "zlib"]
diff --git a/recipes/libyaml.toml b/recipes/libyaml.toml
new file mode 100644
index 00000000..0376d5f8
--- /dev/null
+++ b/recipes/libyaml.toml
@@ -0,0 +1,16 @@
+# libyaml 0.2.5 → libyaml.a (C, autotools). Lib base YAML: yaml-sys, parsers. Tarball release
+# (el repo git no trae configure). De-Alpinizada: compiler=gcc, configure-split, estático.
+name    = "libyaml"
+version = "0.2.5"
+[source]
+tarball = "https://github.com/yaml/libyaml/releases/download/0.2.5/yaml-0.2.5.tar.gz"
+sha256  = "c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4"
+[build]
+compiler = "gcc"
+target   = "x86_64-linux-musl"
+link     = "static"
+flags    = []
+[build.phases]
+configure = './configure --build=$CBUILD --host=$CHOST --prefix=/usr --disable-shared --enable-static'
+compile   = 'make'
+install   = 'make DESTDIR=/out install'