repo/core/rsync/build
2020-02-27 16:56:25 +02:00

16 lines
320 B
Bash
Executable File

#!/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