Integrated Treetap into Maple Linux #1

Merged
ahill merged 74 commits from treetap into main 2026-01-25 22:51:04 +00:00
4 changed files with 21 additions and 2 deletions
Showing only changes of commit 4bbf8d9566 - Show all commits

View File

@ -58,4 +58,4 @@ Definitions:
| `xlibre-xserver` |
| `xz` | Yes | Yes |
| `zlib` | Yes | Yes |
| `zsh` |
| `zsh` | Yes | Yes |

View File

@ -277,6 +277,7 @@ SOURCES=(
tar
xz
zlib
zsh
)
for name in $SOURCES; do
$TREETAP fetch $SPEC/$name/$name.spec

View File

@ -43,7 +43,7 @@ echo "Done!"
# NOTE: kmod requires autoconf, automake, libtool to build. ~ahill
# NOTE: Linux requires bc, byacc, flex, kmod, ... ~ahill
cd /maple
LAYER0="bc byacc bzip2 coreutils diffutils findutils grep gzip libressl m4 make mawk muon musl ncurses patch perl pkgconf sed tar xz zlib"
LAYER0="bc byacc bzip2 coreutils diffutils findutils grep gzip libressl m4 make mawk muon musl ncurses patch perl pkgconf sed tar xz zlib zsh"
LAYER1="autoconf automake flex groff libarchive libelf libtool nano"
LAYER2="dash nasm cmake fortune-mod kmod linux"
PACKAGES="$LAYER0 $LAYER1 $LAYER2"

18
sources/zsh/zsh.spec Normal file
View File

@ -0,0 +1,18 @@
# Maintainer: Alexander Hill
SRC_HASH="9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d45acd5"
SRC_NAME="zsh"
SRC_URL="https://www.zsh.org/pub/zsh-5.9.tar.xz"
SRC_VERSION="5.9"
build() {
tar xf ../$SRC_FILENAME
cd zsh-$SRC_VERSION/
./configure $TT_AUTOCONF_COMMON --enable-multibyte --enable-libc-musl
make -O -j $TT_PROCS
}
package() {
cd zsh-$SRC_VERSION/
make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
ln -sf zsh $TT_INSTALLDIR/bin/bash
}