Built nano

This commit is contained in:
Alexander Hill 2026-01-12 21:30:32 -05:00
parent f0e2fcfc53
commit 774b47ad53
4 changed files with 21 additions and 2 deletions

View File

@ -44,7 +44,7 @@ Definitions:
| `mawk` | Yes | Yes |
| `muon` | Yes | Yes |
| `musl` | Yes | Yes |
| `nano` |
| `nano` | Yes | Yes |
| `nasm` | Yes | Yes |
| `ncurses` | Yes | Yes |
| `nftables` |

View File

@ -267,6 +267,7 @@ SOURCES=(
mawk
muon
musl
nano
nasm
ncurses
patch

View File

@ -36,9 +36,10 @@ echo "Done!"
# NOTE: dash requires flex and mawk to build. ~ahill
# NOTE: libelf requires zlib to build. ~ahill
# NOTE: fortune-mod requires cmake to build. ~ahill
# NOTE: nano requires ncurses to build. ~ahill
cd /maple
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 nano"
LAYER2="dash nasm cmake fortune-mod"
PACKAGES="$LAYER0 $LAYER1 $LAYER2"
for pkg in $PACKAGES; do

17
sources/nano/nano.spec Normal file
View File

@ -0,0 +1,17 @@
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
SRC_HASH="afd287aa672c48b8e1a93fdb6c6588453d527510d966822b687f2835f0d986e9"
SRC_NAME="nano"
SRC_URL="https://www.nano-editor.org/dist/v8/nano-8.7.tar.xz"
SRC_VERSION="8.7"
build() {
tar xf ../$SRC_FILENAME
cd nano-$SRC_VERSION/
./configure $TT_AUTOCONF_COMMON --enable-utf8 --enable-year2038
make -O -j $TT_PROCS
}
package() {
cd nano-$SRC_VERSION/
make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
}