1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-16 13:08:33 +00:00
morpheus/pkgs/sinit
2014-02-06 12:16:16 +00:00

22 lines
313 B
Plaintext

url=git://git.2f30.org/sinit
fetch() {
[ -d src/sinit ] || git clone $url src/sinit
}
build() {
pushd src/sinit
make clean
make -j$nprocs CC=x86_64-linux-musl-gcc LDFLAGS=-static || return 1
popd
}
install() {
pushd src/sinit
make PREFIX=$root install
popd
pushd $root
ln -sf /bin/sinit init
popd
}