2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-17 12:10:12 -07:00
repo/core/rsync/build
2020-02-27 16:56:25 +02: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