]> git.armaanb.net Git - asd-repo.git/blob - extra/rsync/build
Restructure repository
[asd-repo.git] / extra / rsync / build
1 #!/bin/sh -e
2
3 # Swap to awk script instead of perl script
4 # for building rsync. See files/mkproto.awk.
5 sed -i 's/perl/awk -f/;s/mkproto.pl/mkproto.awk/' Makefile.in
6
7 export CFLAGS="-static $CFLAGS"
8
9 ./configure \
10     --prefix=/usr \
11     --with-included-popt \
12     --disable-xxhash \
13     --disable-lz4 \
14     --enable-zstd \
15     --without-included-zlib
16
17 make
18 make DESTDIR="$1" install