rsync: build for host, needed to install 5.3 headers. use rsyncx for addons.

This commit is contained in:
MilhouseVH 2019-09-08 22:36:43 +01:00
parent 7655b57a1b
commit 5bef6d5d5b
4 changed files with 22 additions and 10 deletions

View File

@ -0,0 +1,15 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
. $(get_pkg_directory rsync)/package.mk
PKG_NAME="rsyncx"
PKG_DEPENDS_TARGET="toolchain"
PKG_CONFIGURE_OPTS_TARGET="--disable-acl-support \
--disable-xattr-support \
--with-included-popt"
makeinstall_target() {
:
}

View File

@ -28,7 +28,7 @@ PKG_DEPENDS_TARGET="toolchain \
ngrep \
nmap \
rar2fs \
rsync \
rsyncx \
sshfs \
tcpdump \
udpxy \
@ -72,8 +72,8 @@ addon() {
cp -P $(get_build_dir rar2fs)/.$TARGET_NAME/mkr2i $ADDON_BUILD/$PKG_ADDON_ID/bin
cp -P $(get_build_dir rar2fs)/.$TARGET_NAME/rar2fs $ADDON_BUILD/$PKG_ADDON_ID/bin
# rsync
cp -P $(get_build_dir rsync)/.$TARGET_NAME/rsync $ADDON_BUILD/$PKG_ADDON_ID/bin
# rsyncx
cp -P $(get_build_dir rsyncx)/.$TARGET_NAME/rsync $ADDON_BUILD/$PKG_ADDON_ID/bin
# sshfs
cp -P $(get_build_dir sshfs)/.$TARGET_NAME/sshfs $ADDON_BUILD/$PKG_ADDON_ID/bin

View File

@ -5,7 +5,7 @@
PKG_NAME="linux"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kernel.org"
PKG_DEPENDS_HOST="ccache:host openssl:host"
PKG_DEPENDS_HOST="ccache:host rsync:host openssl:host"
PKG_DEPENDS_TARGET="toolchain linux:host cpio:host kmod:host xz:host wireless-regdb keyutils $KERNEL_EXTRA_DEPENDS_TARGET"
PKG_DEPENDS_INIT="toolchain"
PKG_NEED_UNPACK="$LINUX_DEPENDS"

View File

@ -7,13 +7,10 @@ PKG_SHA256="55cc554efec5fdaad70de921cd5a5eeb6c29a95524c715f3bbf849235b0800c0"
PKG_LICENSE="GPLv3"
PKG_SITE="http://www.samba.org/ftp/rsync/rsync.html"
PKG_URL="https://download.samba.org/pub/rsync/src/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_HOST="autotools:host"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A very fast method for bringing remote files into sync."
PKG_CONFIGURE_OPTS_TARGET="--disable-acl-support \
--disable-xattr-support \
--with-included-popt"
PKG_CONFIGURE_OPTS_HOST="--with-included-popt \
--with-included-zlib"
makeinstall_target() {
:
}