mksh-static

This commit is contained in:
milisbir 2018-11-11 00:49:10 +02:00
parent 0ad49a7be2
commit 244cc850a3
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# Tanım: The MirBSD Korn Betik Konsolu ve Dili, Ksh gelişimiş hali
# URL: https://www.mirbsd.org/mksh.htm
# Paketçi: milisarge
# Gerekler: musl
# Grup: sistem
isim=mksh-static
surum=56.c
devir=1
kaynak=(https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R56c.tgz
https://www.mirbsd.org/TaC-mksh.txt)
derle() {
cd "$SRC/mksh"
CC="musl-gcc" LDFLAGS="-s -static" sh Build.sh -r
install -D -m 755 mksh "$PKG/usr/bin/mksh"
install -D -m 644 mksh.1 "$PKG/usr/share/man/man1/mksh.1"
install -D -m 644 dot.mkshrc "$PKG/etc/skel/.mkshrc"
install -D -m 644 "$SRC/TaC-mksh.txt" "$PKG/usr/share/licenses/mksh/TaC-mksh.txt"
}