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

export CFLAGS="-static $CFLAGS"

sed -i 's/perl/awk -f/;s/mkproto.pl/mkproto.awk/' Makefile.in

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

make
make DESTDIR="$1" install