diff options
author | Cem Keylan <cem@ckyln.com> | 2020-04-30 11:22:07 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-04-30 11:22:07 +0300 |
commit | d05d34425accf3a586de7f7c6df8dd7529e4c631 (patch) | |
tree | abeee952cc6a757c952c5eeaf4fa7cd02a25131a /core/rsync/build | |
parent | 376b4914e8db81ec932acff57fded371b7d65164 (diff) | |
download | repository-d05d34425accf3a586de7f7c6df8dd7529e4c631.tar.gz |
rsync: move back to core
Diffstat (limited to 'core/rsync/build')
-rwxr-xr-x | core/rsync/build | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/rsync/build b/core/rsync/build new file mode 100755 index 00000000..8b4a7e2c --- /dev/null +++ b/core/rsync/build @@ -0,0 +1,15 @@ +#!/bin/sh -e + +# Swap to awk script instead of perl script +# for building rsync. See files/mkproto.awk. +sed -i 's/perl/awk -f/;s/mkproto.pl/mkproto.awk/' Makefile.in + +export CFLAGS="-static $CFLAGS" + +./configure \ + --prefix=/usr \ + --with-included-popt \ + --without-included-zlib + +make +make DESTDIR="$1" install |