mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-26 01:38:34 +00:00
![sin](/assets/img/avatar_default.png)
Also rename pkgs/arch-rootfs to pkgs/emul. The create-bootable script still needs to be fixed to work with dash.
24 lines
279 B
Bash
24 lines
279 B
Bash
url=$mirror/man.tar.gz
|
|
|
|
fetch() {
|
|
wget -c $url -O src/man.tar.gz
|
|
}
|
|
|
|
unpack() {
|
|
cd src
|
|
[ -d man ] || tar xzf man.tar.gz
|
|
cd -
|
|
}
|
|
|
|
build() {
|
|
cd src/man
|
|
x86_64-linux-musl-gcc -std=gnu99 -o man man.c -static || return 1
|
|
cd -
|
|
}
|
|
|
|
install() {
|
|
cd src/man
|
|
cp man $root/bin
|
|
cd -
|
|
}
|