[oe-commits] [meta-openembedded] 01/03: websocketpp: also install examples in a new -examples subpackage
git at git.openembedded.org
git at git.openembedded.org
Fri Jan 10 20:34:21 UTC 2020
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit 1206a34009c1ff08bde075fad6900a87364c3dbc
Author: Gianfranco Costamagna <costamagna.gianfranco at gmail.com>
AuthorDate: Fri Jan 10 15:33:17 2020 +0100
websocketpp: also install examples in a new -examples subpackage
Thanks to Khem Raj for the suggestion, the location is similar to the one used by Debian packaging
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg at debian.org>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
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 8a2a3e1..4303f24 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}
+}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list