diff --git a/recipes/libndp.toml b/recipes/libndp.toml new file mode 100644 index 00000000..15eeea45 --- /dev/null +++ b/recipes/libndp.toml @@ -0,0 +1,31 @@ +# libndp 1.9 — IPv6 Neighbor Discovery Protocol (libndp.so). Campaña KDE (ADR 0011): es una de las 3 deps +# DURAS de NetworkManager (junto a libudev y gio), y NetworkManager→libnm es lo que destraba +# networkmanager-qt → plasma-nm (el applet de red). +# +# El proyecto no publica tarball con `configure` pregenerado (los mirrors dan 404); se usa el git-archive +# del tag y se corre `autoreconf -fi` con el autoconf/automake/libtoolize del rootfs de build (mismo patrón +# "de gueto" que gcc/cmake: herramienta del rootfs, no del catálogo). +name = "libndp" +version = "1.9" +license = "LGPL-2.1-or-later" + +[source] +tarball = "https://github.com/jpirko/libndp/archive/refs/tags/v1.9.tar.gz" +sha256 = "e564f5914a6b1b799c3afa64c258824a801c1b79a29e2fe6525b682249c65261" + +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +flags = [] + +[build.phases] +configure = ''' +autoreconf -fi +./configure --build=$CBUILD --host=$CHOST --prefix=/usr --enable-shared --disable-static +''' +compile = 'make -j"$(nproc)"' +install = "make DESTDIR=/out install && find /out -name '*.la' -delete" + +[deps] +build = ["pkgconf", "libtool"] diff --git a/recipes/libtool.toml b/recipes/libtool.toml new file mode 100644 index 00000000..b1ebbe1c --- /dev/null +++ b/recipes/libtool.toml @@ -0,0 +1,19 @@ +# GNU libtool 2.5.4 — provee libltdl (carga de plugins .so), dep de libcanberra. De-Alpinizado. +# Sólo nos interesa libltdl (ltdl.h + libltdl.so + libltdl.pc); el script libtool en sí no lo usa takana. +name = "libtool" +version = "2.5.4" +license = "GPL-2.0-or-later" +[source] +tarball = "https://ftp.gnu.org/gnu/libtool/libtool-2.5.4.tar.xz" +sha256 = "f81f5860666b0bc7d84baddefa60d1cb9fa6fceb2398cc3baca6afaa60266675" +[build] +compiler = "zig-cc" +target = "x86_64-linux-musl" +link = "dynamic" +zig_version = "0.13.0" +[build.phases] +configure = './configure --build=$CBUILD --host=$CHOST --prefix=/usr --enable-ltdl-install --disable-static --enable-shared' +compile = 'make -j"$(nproc)"' +install = "make install DESTDIR=/out && find /out -name '*.la' -delete" +[deps] +build = ["pkgconf", "m4"]