aboutsummaryrefslogtreecommitdiff
path: root/core/rsync/build
blob: 5aadaca9b2ae36898abf9bbf2fe71958b6325783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -e

# Swap to awk script instead of perl script
# for building rsync. See files/mkproto.awk.
sed 's/perl/awk -f/;s/mkproto.pl/mkproto.awk/' Makefile.in > _
cat _ > Makefile.in; rm -f _

export CFLAGS="-static $CFLAGS"

./configure \
    --prefix=/usr \
    --with-included-popt \
    --without-included-zlib

make
make DESTDIR="$1" install