1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-25 23:58:33 +00:00
morpheus/pkgs/ubase
2014-02-20 14:39:46 +00:00

20 lines
291 B
Plaintext

url=git://git.2f30.org/ubase
fetch() {
[ -d src/ubase ] || git clone $url src/ubase
}
build() {
cd src/ubase
make clean
make -j$nprocs CC=x86_64-linux-musl-gcc LDFLAGS=-static || return 1
cd -
}
install() {
cd src/ubase
make PREFIX=$root install
chmod 4755 "$root/bin/su"
cd -
}