19 lines
384 B
Plaintext
19 lines
384 B
Plaintext
|
#!/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 \
|
||
|
--disable-xxhash \
|
||
|
--disable-zstd \
|
||
|
--disable-lz4 \
|
||
|
--without-included-zlib
|
||
|
|
||
|
make
|
||
|
make DESTDIR="$1" install
|