2019-03-26 15:59:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2018-07-16 20:45:36 +02:00
|
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
2016-04-25 10:29:25 -07:00
|
|
|
|
|
|
|
|
PKG_NAME="rsync"
|
2022-01-05 06:28:19 +00:00
|
|
|
PKG_VERSION="3.2.4"
|
|
|
|
|
PKG_SHA256="6f761838d08052b0b6579cf7f6737d93e47f01f4da04c5d24d3447b7f2a5fad1"
|
2018-03-23 11:37:21 +01:00
|
|
|
PKG_LICENSE="GPLv3"
|
2022-01-05 06:28:19 +00:00
|
|
|
PKG_SITE="https://rsync.samba.org"
|
2021-01-19 19:34:12 +00:00
|
|
|
PKG_URL="https://download.samba.org/pub/rsync/src/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
2020-10-14 23:09:36 +00:00
|
|
|
PKG_DEPENDS_HOST="autotools:host zlib:host zstd:host"
|
2020-12-11 07:27:37 +01:00
|
|
|
PKG_DEPENDS_TARGET="toolchain zlib openssl"
|
2018-10-22 15:06:12 +02:00
|
|
|
PKG_LONGDESC="A very fast method for bringing remote files into sync."
|
2019-12-13 14:34:30 +01:00
|
|
|
PKG_BUILD_FLAGS="-sysroot"
|
2016-04-25 10:29:25 -07:00
|
|
|
|
2019-09-08 22:36:43 +01:00
|
|
|
PKG_CONFIGURE_OPTS_HOST="--with-included-popt \
|
2020-10-14 23:09:36 +00:00
|
|
|
--without-included-zlib \
|
2020-12-11 07:27:37 +01:00
|
|
|
--disable-openssl \
|
2020-10-14 23:09:36 +00:00
|
|
|
--disable-lz4 \
|
|
|
|
|
--enable-zstd \
|
|
|
|
|
--disable-xxhash"
|
2016-04-25 10:29:25 -07:00
|
|
|
|
2019-12-13 14:34:30 +01:00
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--disable-acl-support \
|
2020-11-01 20:05:46 +01:00
|
|
|
--disable-asm \
|
2020-12-11 07:27:37 +01:00
|
|
|
--enable-openssl \
|
2020-10-14 23:09:36 +00:00
|
|
|
--disable-lz4 \
|
2020-11-01 20:05:46 +01:00
|
|
|
--disable-md2man \
|
|
|
|
|
--disable-simd \
|
|
|
|
|
--disable-xattr-support \
|
|
|
|
|
--disable-xxhash \
|
2020-10-14 23:09:36 +00:00
|
|
|
--disable-zstd \
|
2020-11-01 20:05:46 +01:00
|
|
|
--with-included-popt \
|
|
|
|
|
--without-included-zlib"
|
2021-09-23 12:36:18 -04:00
|
|
|
|
|
|
|
|
pre_make_host() {
|
|
|
|
|
# do not detect LE git version
|
|
|
|
|
echo "#define RSYNC_GITVER \"${PKG_VERSION}\"" >git-version.h
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pre_make_target() {
|
|
|
|
|
pre_make_host
|
|
|
|
|
}
|