From bc1d270a0d8bfe56f8f8840ec32aef5dbfaa2cc1 Mon Sep 17 00:00:00 2001 From: sergio Date: Sat, 11 Jul 2026 00:19:55 -0400 Subject: [PATCH] =?UTF-8?q?base-system-3:=20npth=20construye=20=E2=80=94?= =?UTF-8?q?=20nPth=20de=20GnuPG=20(libnpth.a)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit b3:6d841c6a. Lib 1/3 de la cadena que faltaba para gnupg. Autotools limpio, fase configure explícita --enable-static, sin deps. --- recipes/incoming-clib/npth.toml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 recipes/incoming-clib/npth.toml diff --git a/recipes/incoming-clib/npth.toml b/recipes/incoming-clib/npth.toml new file mode 100644 index 00000000..932dc79e --- /dev/null +++ b/recipes/incoming-clib/npth.toml @@ -0,0 +1,30 @@ +# nPth 1.8 — New Portable Threads de GnuPG (una de las 3 libs para gnupg). +# De-Alpinizada (Etapa G): autotools limpio de gnupg.org, sin deps de catálogo (autoconf/ +# automake/libtool NO hacen falta: el tarball release ya trae ./configure generado). +name = "npth" +version = "1.8" + +[source] +tarball = "https://gnupg.org/ftp/gcrypt/npth/npth-1.8.tar.bz2" +# sha512 de Alpine (referencia): +# 34fdeea3d8a7a594d8fdbcc6d5d389b5c8e282e8e84c1491b1e51960c0fa007df6a1d62543f0107f0772f3215557d4b25c2a9c7067cb0ae2f8de7b4d63d09fb4 +sha256 = "8bd24b4f23a3065d6e5b26e98aba9ce783ea4fd781069c1b35d149694e90ca3e" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "static" +flags = [] + +[build.phases] +configure = ''' +./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --enable-static \ + --disable-shared \ + --disable-nls +''' +compile = 'make -j"$(nproc)"' +install = 'make DESTDIR=/out install'