diff mbox series

[meta-networking,2/2] lftp: add zsh completion subpackage

Message ID 20260626114133.3486742-2-Hemanth.KumarMD@windriver.com
State New
Headers show
Series [meta-networking,1/2] lftp: backport fix for duplicate OpenSSL symbols | expand

Commit Message

Hemanth Kumar M D June 26, 2026, 11:41 a.m. UTC
From: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>

4.9.3 installs zsh completion via 'make install'. Package it as
${PN}-zsh-completion consistent with other recipes in meta-oe.

Link: https://github.com/lavv17/lftp/commit/7f5c127878fa76a916b9ea80419d65e7df549d3e

Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
---
 meta-networking/recipes-connectivity/lftp/lftp_4.9.3.bb | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/meta-networking/recipes-connectivity/lftp/lftp_4.9.3.bb b/meta-networking/recipes-connectivity/lftp/lftp_4.9.3.bb
index 3d838e6c42..aa47362c92 100644
--- a/meta-networking/recipes-connectivity/lftp/lftp_4.9.3.bb
+++ b/meta-networking/recipes-connectivity/lftp/lftp_4.9.3.bb
@@ -27,5 +27,9 @@  PACKAGECONFIG[expat] = "--with-expat=${STAGING_INCDIR}/.. --with-expat-inc=${STA
 do_install:append() {
 	rm -rf ${D}${libdir}/charset.alias
 }
+PACKAGES =+ "${PN}-zsh-completion"
+
 FILES:${PN} += "${datadir}/icons/hicolor"
+FILES:${PN}-zsh-completion = "${datadir}/zsh/site-functions"
+
 RDEPENDS:${PN} = "perl bash readline"