Signed-off-by: Markus Heidelberg <[email protected]> --- rules/host-system-rsync.in | 4 ++++ rules/host-system-rsync.make | 26 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 rules/host-system-rsync.in create mode 100644 rules/host-system-rsync.make
diff --git a/rules/host-system-rsync.in b/rules/host-system-rsync.in new file mode 100644 index 0000000..1c61a56 --- /dev/null +++ b/rules/host-system-rsync.in @@ -0,0 +1,4 @@ +## SECTION=hosttools_noprompt + +config HOST_SYSTEM_RSYNC + tristate diff --git a/rules/host-system-rsync.make b/rules/host-system-rsync.make new file mode 100644 index 0000000..f03154a --- /dev/null +++ b/rules/host-system-rsync.make @@ -0,0 +1,26 @@ +# -*-makefile-*- +# +# Copyright (C) 2024 by Markus Heidelberg <[email protected]> +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_SYSTEM_RSYNC) += host-system-rsync +HOST_SYSTEM_RSYNC_LICENSE := ignore + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +$(STATEDIR)/host-system-rsync.prepare: + @$(call targetinfo) + @echo "Checking for rsync ..." + @rsync --version >/dev/null 2>&1 || \ + ptxd_bailout "'rsync' not found! Please install."; + @$(call touch) + +# vim: syntax=make -- 2.34.1
