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.
|
2020-02-27 02:56:44 -07:00
|
|
|
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 \
|
2020-02-27 02:56:44 -07:00
|
|
|
--with-included-popt \
|
2020-06-20 01:35:11 -06:00
|
|
|
--disable-xxhash \
|
|
|
|
--disable-zstd \
|
|
|
|
--disable-lz4 \
|
2020-02-27 02:56:44 -07:00
|
|
|
--without-included-zlib
|
2019-07-11 10:03:03 -06:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR="$1" install
|