mirror of
git://git.2f30.org/morpheus.git
synced 2024-07-01 03:31:21 +00:00
25 lines
387 B
Plaintext
25 lines
387 B
Plaintext
url=$mirror/rsync-3.0.9.tar.gz
|
|
|
|
fetch() {
|
|
wget -c $url -O src/rsync-3.0.9.tar.gz
|
|
}
|
|
|
|
unpack() {
|
|
pushd src
|
|
[ -d rsync-3.0.9 ] || tar xzf rsync-3.0.9.tar.gz
|
|
popd
|
|
}
|
|
|
|
build() {
|
|
pushd src/rsync-3.0.9
|
|
CC=musl-gcc ./configure --prefix=$root LDFLAGS="-static" || return 1
|
|
make CC=musl-gcc -j$nprocs || return 1
|
|
popd
|
|
}
|
|
|
|
install() {
|
|
pushd src/rsync-3.0.9
|
|
make install || return 1
|
|
popd
|
|
}
|