aboutsummaryrefslogtreecommitdiff
path: root/core/rsync/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-04-30 11:22:07 +0300
committerCem Keylan <cem@ckyln.com>2020-04-30 11:22:07 +0300
commitd05d34425accf3a586de7f7c6df8dd7529e4c631 (patch)
treeabeee952cc6a757c952c5eeaf4fa7cd02a25131a /core/rsync/build
parent376b4914e8db81ec932acff57fded371b7d65164 (diff)
downloadrepository-d05d34425accf3a586de7f7c6df8dd7529e4c631.tar.gz
rsync: move back to core
Diffstat (limited to 'core/rsync/build')
-rwxr-xr-xcore/rsync/build15
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