Integrated Treetap into Maple Linux #1
@ -58,4 +58,4 @@ Definitions:
|
||||
| `xlibre-xserver` |
|
||||
| `xz` | Yes | Yes |
|
||||
| `zlib` | Yes | Yes |
|
||||
| `zsh` |
|
||||
| `zsh` | Yes | Yes |
|
||||
|
||||
@ -277,6 +277,7 @@ SOURCES=(
|
||||
tar
|
||||
xz
|
||||
zlib
|
||||
zsh
|
||||
)
|
||||
for name in $SOURCES; do
|
||||
$TREETAP fetch $SPEC/$name/$name.spec
|
||||
|
||||
@ -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
18
sources/zsh/zsh.spec
Normal 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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user