1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-16 12:58:34 +00:00
morpheus/pkgs/mksh

15 lines
368 B
Plaintext
Raw Normal View History

2014-02-27 12:41:37 +00:00
build: crossmusl
v="R47"
url="$mirror/mksh-$v.tar.gz"
cd src
2014-02-27 12:41:37 +00:00
wget -c $url
[ -d mksh ] || tar xzf mksh-$v.tar.gz
cd mksh
CC=$CC LDFLAGS=-static sh Build.sh || return 1
mkdir -p "$root/share/man/man1" "$root/share/man/cat1"
cp mksh "$root/bin"
cp mksh.1 "$root/share/man/man1/mksh.1"
cp mksh.cat1 "$root/share/man/cat1/mksh.0"
2014-02-20 16:10:47 +00:00
cd "$root/bin"
2014-02-27 12:41:37 +00:00
ln -sf mksh sh