diff options
author | Cem Keylan <cem@ckyln.com> | 2020-04-25 12:12:24 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-04-25 12:12:24 +0300 |
commit | 96fcfde6452f55e1b7a7c4dea70f5219e02d4cf3 (patch) | |
tree | 2d59ea335ed20f538fe71d04b2d14fb16dce4d3f /extra/rsync/build | |
parent | 49d08d2e868ac078044fdda368735fc7166300a5 (diff) | |
download | repository-96fcfde6452f55e1b7a7c4dea70f5219e02d4cf3.tar.gz |
rsync: move to extra
Diffstat (limited to 'extra/rsync/build')
-rwxr-xr-x | extra/rsync/build | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/rsync/build b/extra/rsync/build new file mode 100755 index 00000000..8b4a7e2c --- /dev/null +++ b/extra/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 |