All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] websocketpp: also install examples in a new -examples subpackage
@ 2020-01-10 10:04 Gianfranco Costamagna
  2020-01-10 14:19 ` Mittal, Anuj
  0 siblings, 1 reply; 5+ messages in thread
From: Gianfranco Costamagna @ 2020-01-10 10:04 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Gianfranco Costamagna, Gianfranco Costamagna

Thanks to Khem Raj for the suggestion, the location is similar to the one used by Debian packaging

Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
---
 meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb b/meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb
index 8a2a3e1b8..9562809a8 100644
--- a/meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb
+++ b/meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb
@@ -30,3 +30,12 @@ SRCREV= "c6d7e295bf5a0ab9b5f896720cc1a0e0fdc397a7"
 S = "${WORKDIR}/git"
 
 inherit cmake
+
+PACKAGES =+ "${PN}-examples"
+
+FILES_${PN}-examples = "${docdir}"
+
+do_install_append() {
+	install -d ${D}${docdir}/${PN}
+	cp -R ${S}/examples ${D}${docdir}/${PN}
+}
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [meta-oe][PATCH] websocketpp: also install examples in a new -examples subpackage
@ 2020-01-10 14:33 Gianfranco Costamagna
  0 siblings, 0 replies; 5+ messages in thread
From: Gianfranco Costamagna @ 2020-01-10 14:33 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Gianfranco Costamagna, Gianfranco Costamagna

Thanks to Khem Raj for the suggestion, the location is similar to the one used by Debian packaging

Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
---
 meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb b/meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb
index 8a2a3e1b8..4303f2473 100644
--- a/meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb
+++ b/meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb
@@ -30,3 +30,12 @@ SRCREV= "c6d7e295bf5a0ab9b5f896720cc1a0e0fdc397a7"
 S = "${WORKDIR}/git"
 
 inherit cmake
+
+PACKAGES =+ "${PN}-examples"
+
+FILES_${PN}-examples = "${docdir}"
+
+do_install_append() {
+	install -d ${D}${docdir}/${BPN}
+	cp -R ${S}/examples ${D}${docdir}/${BPN}
+}
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-01-11  5:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-10 10:04 [meta-oe][PATCH] websocketpp: also install examples in a new -examples subpackage Gianfranco Costamagna
2020-01-10 14:19 ` Mittal, Anuj
2020-01-11  5:38   ` Khem Raj
2020-01-11  5:39     ` Khem Raj
2020-01-10 14:33 Gianfranco Costamagna

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.