From d05d34425accf3a586de7f7c6df8dd7529e4c631 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Thu, 30 Apr 2020 11:22:07 +0300 Subject: rsync: move back to core --- core/rsync/build | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 core/rsync/build (limited to 'core/rsync/build') 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 -- cgit v1.2.3