mirror of
git://git.2f30.org/morpheus.git
synced 2024-07-01 02:41:21 +00:00
20 lines
281 B
Plaintext
20 lines
281 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
|
|
cd -
|
|
}
|
|
|
|
install() {
|
|
cd src/ubase
|
|
make PREFIX="$root" install
|
|
chmod 4755 "$root/bin/su"
|
|
cd -
|
|
}
|