2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-25 00:30:06 -07:00
repo/extra/rsync/build
2020-04-25 10:15:11 +03:00

16 lines
320 B
Bash
Executable File

#!/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 \
--without-included-zlib
make
make DESTDIR="$1" install