1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-20 18:58:33 +00:00
morpheus/pkgs/rsync

25 lines
388 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=x86_64-linux-musl-gcc ./configure --prefix=$root LDFLAGS="-static" || return 1
make -j$nprocs || return 1
popd
}
install() {
pushd src/rsync-3.0.9
make install || return 1
popd
}