mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-26 00:28:33 +00:00
25 lines
394 B
Plaintext
25 lines
394 B
Plaintext
url=$mirror/musl-0.9.13.tar.gz
|
|
|
|
fetch() {
|
|
wget -c $url -O src/musl-0.9.13.tar.gz
|
|
}
|
|
|
|
unpack() {
|
|
pushd src
|
|
[ -d musl-0.9.13 ] || tar xzf musl-0.9.13.tar.gz
|
|
popd
|
|
}
|
|
|
|
build() {
|
|
pushd src/musl-0.9.13
|
|
./configure --prefix=$top/cross --syslibdir=$top/cross/lib --disable-shared || return 1
|
|
make -j$nprocs || return 1
|
|
popd
|
|
}
|
|
|
|
install() {
|
|
pushd src/musl-0.9.13
|
|
make install || return 1
|
|
popd
|
|
}
|