morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus
Log | Files | Refs | Submodules | README | LICENSE

commit 269b5f62bf41385aed72fb69fdb828f98cc9e1e6
parent e457911fab95924b6d889b0af41f3e8c7bf49bfd
Author: sin <sin@2f30.org>
Date:   Mon, 16 Sep 2013 14:33:44 +0100

Add rsync

Diffstat:
Apkgs/rsync | 24++++++++++++++++++++++++
1 file changed, 24 insertions(+), 0 deletions(-)

diff --git a/pkgs/rsync b/pkgs/rsync @@ -0,0 +1,24 @@ +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" + make CC=musl-gcc -j$nprocs + popd +} + +install() { + pushd src/rsync-3.0.9 + make install + popd +}