2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-24 08:20:05 -07:00
repo/extra/rsync/build

16 lines
320 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.
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 \
--with-included-popt \
--without-included-zlib
2019-07-11 10:03:03 -06:00
make
make DESTDIR="$1" install