From 9a9d92d5082200ef42c7204180d84c47a0e1f111 Mon Sep 17 00:00:00 2001 From: aethrvmn Date: Sun, 16 Nov 2025 22:16:15 +0100 Subject: added dependants and fixed import path --- src/tesserae/core/glibc.nim | 3 ++- src/tesserae/core/iana_etc.nim | 5 ++++- src/tesserae/core/manpages.nim | 3 ++- src/tesserae/core/ncurses.nim | 27 +++++++++++++++++++++++++-- src/tesserae/core/zlib.nim | 11 ++++++++--- 5 files changed, 41 insertions(+), 8 deletions(-) (limited to 'src/tesserae') diff --git a/src/tesserae/core/glibc.nim b/src/tesserae/core/glibc.nim index 8e7d68d..25d7c99 100644 --- a/src/tesserae/core/glibc.nim +++ b/src/tesserae/core/glibc.nim @@ -1,4 +1,4 @@ -import .. / lapis +import .. / .. / lapis tessera "glibc": source: "https://ftp.gnu.org/gnu/glibc/glibc-2.42.tar.xz" @@ -22,6 +22,7 @@ tessera "glibc": "sed", "texinfo" ] + dependants: @[""] build: @[ "patch -Np1 -i ../glibc-2.42-fhs-1.patch", """ diff --git a/src/tesserae/core/iana_etc.nim b/src/tesserae/core/iana_etc.nim index bba7f85..df55a5b 100644 --- a/src/tesserae/core/iana_etc.nim +++ b/src/tesserae/core/iana_etc.nim @@ -1,4 +1,4 @@ -import .. / lapis +import .. / .. / lapis tessera "iana_etc": source: "https://github.com/Mic92/iana-etc/releases/download/20250807/iana-etc-20250807.tar.gz" @@ -6,6 +6,9 @@ tessera "iana_etc": dependencies: @[ "coreutils" ] + dependants: @[ + "perl" + ] build: @[ "cp services protocols /etc" ] diff --git a/src/tesserae/core/manpages.nim b/src/tesserae/core/manpages.nim index 38abd1a..8c16630 100644 --- a/src/tesserae/core/manpages.nim +++ b/src/tesserae/core/manpages.nim @@ -1,4 +1,4 @@ -import .. / lapis +import .. / .. / lapis tessera "manpages": source: "https://www.kernel.org/pub/linux/docs/man-pages/man-pages-6.15.tar.xz" @@ -9,6 +9,7 @@ tessera "manpages": "make", "sed" ] + dependants: @[""] build: @[ "rm -v man3/crypt*", "make -R GIT=false prefix=/usr install" diff --git a/src/tesserae/core/ncurses.nim b/src/tesserae/core/ncurses.nim index e17b2a2..da3cc7e 100644 --- a/src/tesserae/core/ncurses.nim +++ b/src/tesserae/core/ncurses.nim @@ -1,9 +1,32 @@ -import .. / lapis +import .. / .. / lapis tessera "ncurses": source: "" patches: @[""] - dependencies: @[""] + dependencies: @[ + "bash", + "binutils", + "coreutils", + "diffutils", + "gawk", + "gcc", + "glibc", + "grep", + "make", + "patch", + "sed" + ] + dependants: @[ + "bash", + "grub", + "inetutils", + "less", + "procps_ng", + "psmisc", + "readline", + "texinfo", + "util-linux", + "vim" build: @[ """ ./configure --prefix=/usr \ diff --git a/src/tesserae/core/zlib.nim b/src/tesserae/core/zlib.nim index aa461ab..f86fe7f 100644 --- a/src/tesserae/core/zlib.nim +++ b/src/tesserae/core/zlib.nim @@ -1,4 +1,4 @@ -import .. / lapis +import .. / .. / lapis tessera "zlib": source: "https://zlib.net/fossils/zlib-1.3.1.tar.gz" @@ -12,6 +12,13 @@ tessera "zlib": "make", "sed" ] + dependants: @[ + "file", + "kmod", + "libelf", + "perl", + "util-linux" + ] build: @[ "./configure --prefix=/usr", "make", @@ -19,5 +26,3 @@ tessera "zlib": "make install", "rm -fv /usr/lib/libz.a" ] - result: "libz.so" - -- cgit v1.2.3