Built ncurses

This commit is contained in:
Alexander Hill 2026-01-12 21:20:20 -05:00
parent 091e212479
commit f0e2fcfc53
4 changed files with 24 additions and 2 deletions

View File

@ -46,7 +46,7 @@ Definitions:
| `musl` | Yes | Yes | | `musl` | Yes | Yes |
| `nano` | | `nano` |
| `nasm` | Yes | Yes | | `nasm` | Yes | Yes |
| `ncurses` | | `ncurses` | Yes | Yes |
| `nftables` | | `nftables` |
| `openrc` | | `openrc` |
| `patch` | Yes | Yes | | `patch` | Yes | Yes |

View File

@ -268,6 +268,7 @@ SOURCES=(
muon muon
musl musl
nasm nasm
ncurses
patch patch
perl perl
pkgconf pkgconf

View File

@ -37,7 +37,7 @@ echo "Done!"
# NOTE: libelf requires zlib to build. ~ahill # NOTE: libelf requires zlib to build. ~ahill
# NOTE: fortune-mod requires cmake to build. ~ahill # NOTE: fortune-mod requires cmake to build. ~ahill
cd /maple 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" LAYER1="autoconf automake flex groff libarchive libelf libtool linux"
LAYER2="dash nasm cmake fortune-mod" LAYER2="dash nasm cmake fortune-mod"
PACKAGES="$LAYER0 $LAYER1 $LAYER2" PACKAGES="$LAYER0 $LAYER1 $LAYER2"

View File

@ -0,0 +1,21 @@
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
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
}