repo/extra/rsync/build

19 lines
384 B
Plaintext
Raw Normal View History

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