2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-23 07:40:11 -07:00
repo/extra/rsync/build

20 lines
392 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.
2021-07-03 14:39:59 -06:00
sed 's/perl/awk -f/;s/mkproto.pl/mkproto.awk/' Makefile.in > _
mv -f _ 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
2021-07-17 21:10:00 -06:00
make install