Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH] cppzmq: use cmake to install the package
@ 2018-07-19  7:22 Pascal Bach
  0 siblings, 0 replies; only message in thread
From: Pascal Bach @ 2018-07-19  7:22 UTC (permalink / raw)
  To: openembedded-devel

This way also the required cmake configs are installed so other
packages can find it.

It seems also cleaner to use the upstream mechanism than to have our own
install script.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
---
 meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
index 4920bce8c..9aff59c6c 100644
--- a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
+++ b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb
@@ -11,10 +11,7 @@ SRC_URI = "git://github.com/zeromq/cppzmq.git"
 
 S = "${WORKDIR}/git"
 
-do_install () {
-        install -d ${D}/usr/include
-        install -m 0755 ${S}/zmq.hpp ${D}/usr/include/
-}
+inherit cmake
 
 PACKAGES = "${PN}-dev"
 
-- 
2.11.0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-19  7:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-19  7:22 [meta-oe][PATCH] cppzmq: use cmake to install the package Pascal Bach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox