From: Hemanth Kumar M D <[email protected]>

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 <[email protected]>
---
 meta-networking/recipes-connectivity/lftp/lftp_4.9.3.bb | 4 ++++
 1 file changed, 4 insertions(+)

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"
-- 
2.49.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127791): 
https://lists.openembedded.org/g/openembedded-devel/message/127791
Mute This Topic: https://lists.openembedded.org/mt/119988166/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to