2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-16 03:30:23 -07:00
repo/extra/rsync/build
2021-07-03 20:39:59 +00:00

20 lines
405 B
Bash
Executable File

#!/bin/sh -e
# Swap to awk script instead of perl script
# for building rsync. See files/mkproto.awk.
sed 's/perl/awk -f/;s/mkproto.pl/mkproto.awk/' Makefile.in > _
mv -f _ 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