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

cpt-configure \
    --with-included-popt \
    --disable-xxhash \
    --disable-lz4 \
    --disable-zstd \
    --disable-openssl \
    --disable-simd \
    --without-included-zlib

make
make DESTDIR="$1" install