From 96fcfde6452f55e1b7a7c4dea70f5219e02d4cf3 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 25 Apr 2020 12:12:24 +0300 Subject: rsync: move to extra --- extra/rsync/build | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 extra/rsync/build (limited to 'extra/rsync/build') 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 -- cgit v1.2.3