repo/extra/rsync/build

19 lines
384 B
Plaintext
Raw Normal View History

2019-07-11 10:03:03 -06:00
#!/bin/sh -e
2020-02-27 07:56:25 -07:00
# 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
2020-02-27 07:56:25 -07:00
export CFLAGS="-static $CFLAGS"
2019-07-11 10:03:03 -06:00
./configure \
2019-07-11 10:05:40 -06:00
--prefix=/usr \
--with-included-popt \
2020-06-20 01:35:11 -06:00
--disable-xxhash \
--disable-zstd \
--disable-lz4 \
--without-included-zlib
2019-07-11 10:03:03 -06:00
make
make DESTDIR="$1" install