From f0e2fcfc5342fa3b8094d23f19fa2da6f5d57e21 Mon Sep 17 00:00:00 2001 From: Alexander Hill Date: Mon, 12 Jan 2026 21:20:20 -0500 Subject: [PATCH] Built ncurses --- STATUS.md | 2 +- bootstrap.sh | 1 + rootbuild.sh | 2 +- sources/ncurses/ncurses.spec | 21 +++++++++++++++++++++ 4 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 sources/ncurses/ncurses.spec diff --git a/STATUS.md b/STATUS.md index c545509..442347d 100644 --- a/STATUS.md +++ b/STATUS.md @@ -46,7 +46,7 @@ Definitions: | `musl` | Yes | Yes | | `nano` | | `nasm` | Yes | Yes | -| `ncurses` | +| `ncurses` | Yes | Yes | | `nftables` | | `openrc` | | `patch` | Yes | Yes | diff --git a/bootstrap.sh b/bootstrap.sh index 6cf6345..af77a3b 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -268,6 +268,7 @@ SOURCES=( muon musl nasm + ncurses patch perl pkgconf diff --git a/rootbuild.sh b/rootbuild.sh index a10cffa..9fd01e1 100755 --- a/rootbuild.sh +++ b/rootbuild.sh @@ -37,7 +37,7 @@ echo "Done!" # NOTE: libelf requires zlib to build. ~ahill # NOTE: fortune-mod requires cmake to build. ~ahill cd /maple -LAYER0="bc byacc bzip2 coreutils diffutils findutils grep gzip kmod libressl m4 make mawk muon musl patch perl pkgconf sed tar xz zlib" +LAYER0="bc byacc bzip2 coreutils diffutils findutils grep gzip kmod libressl m4 make mawk muon musl ncurses patch perl pkgconf sed tar xz zlib" LAYER1="autoconf automake flex groff libarchive libelf libtool linux" LAYER2="dash nasm cmake fortune-mod" PACKAGES="$LAYER0 $LAYER1 $LAYER2" diff --git a/sources/ncurses/ncurses.spec b/sources/ncurses/ncurses.spec new file mode 100644 index 0000000..117823c --- /dev/null +++ b/sources/ncurses/ncurses.spec @@ -0,0 +1,21 @@ +# Maintainer: Alexander Hill +SRC_HASH="65681cb0d0f80ed95780e79cf03f93672d1c14e41e767efdcc826901ea214420" +SRC_NAME="ncurses" +SRC_URL="https://invisible-island.net/archives/ncurses/current/ncurses-6.6-20260103.tgz" +SRC_VERSION="6.6-20260103" + +build() { + tar xf ../$SRC_FILENAME + cd ncurses-$SRC_VERSION/ + ./configure $TT_AUTOCONF_COMMON \ + --with-cxx-shared \ + --without-debug \ + --without-normal \ + --with-shared + make -O -j $TT_PROCS +} + +package() { + cd ncurses-$SRC_VERSION/ + make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR +}