aboutsummaryrefslogtreecommitdiff
path: root/core/rsync/build
blob: 8b4a7e2c9223e64b44911f5311b6933c3a685f39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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