2021-01-22 19:44:05 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2023-09-01 16:27:50 +03:00
|
|
|
port='rsync'
|
2023-09-02 01:44:25 +03:00
|
|
|
version='3.2.7'
|
2023-09-01 16:27:50 +03:00
|
|
|
useconfigure='true'
|
|
|
|
use_fresh_config_sub='true'
|
2023-07-10 14:10:29 +03:00
|
|
|
files=(
|
2023-09-02 01:44:25 +03:00
|
|
|
"https://download.samba.org/pub/rsync/src/rsync-${version}.tar.gz#4e7d9d3f6ed10878c58c5fb724a67dacf4b6aac7340b13e488fb2dc41346f2bb"
|
2023-07-10 14:10:29 +03:00
|
|
|
)
|
2023-09-01 16:27:50 +03:00
|
|
|
configopts=(
|
|
|
|
"--target=${SERENITY_ARCH}-pc-serenity"
|
2023-09-02 01:44:25 +03:00
|
|
|
'--disable-xxhash'
|
2023-09-01 16:27:50 +03:00
|
|
|
)
|
2023-09-02 01:44:25 +03:00
|
|
|
if [ "${SERENITY_TOOLCHAIN}" = 'Clang' ]; then
|
|
|
|
depends=(
|
|
|
|
'lz4'
|
|
|
|
'openssl'
|
|
|
|
)
|
|
|
|
else
|
|
|
|
configopts+=(
|
|
|
|
'--disable-lz4'
|
|
|
|
'--disable-openssl'
|
|
|
|
)
|
|
|
|
fi
|