Patchwork [meta-oe,1/2] zero-mq : Add recipe.

login
register
mail settings
Submitter Philip Balister
Date June 25, 2014, 6:49 p.m.
Message ID <1403722191-2291-1-git-send-email-philip@balister.org>
Download mbox | patch
Permalink /patch/74393/
State Accepted, archived
Headers show

Comments

Philip Balister - June 25, 2014, 6:49 p.m.
Builds on ARM and tests ran on Zynq.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Townsend <martin.townsend@xsilon.com>
---
 .../recipes-connectivity/zeromq/zeromq_4.0.4.bb    | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/zeromq/zeromq_4.0.4.bb

Patch

diff --git a/meta-oe/recipes-connectivity/zeromq/zeromq_4.0.4.bb b/meta-oe/recipes-connectivity/zeromq/zeromq_4.0.4.bb
new file mode 100644
index 0000000..014114f
--- /dev/null
+++ b/meta-oe/recipes-connectivity/zeromq/zeromq_4.0.4.bb
@@ -0,0 +1,27 @@ 
+DESCRIPTION = "ZeroMQ looks like an embeddable networking library but acts like a concurrency framework"
+HOMEPAGE = "http://www.zeromq.org"
+LICENSE = "LGPLv3+"
+LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=d5311495d952062e0e4fbba39cbf3de1"
+
+SRC_URI = "http://download.zeromq.org/zeromq-${PV}.tar.gz"
+SRC_URI[md5sum] = "f3c3defbb5ef6cc000ca65e529fdab3b"
+SRC_URI[sha256sum] = "1ef71d46e94f33e27dd5a1661ed626cd39be4d2d6967792a275040e34457d399"
+
+S = "${WORKDIR}/zeromq-${PV}"
+
+#Uncomment to choose polling system manually. valid values are kqueue, epoll, devpoll, poll or select
+#EXTRA_OECONF += "--with-poller=kqueue"
+#CFLAGS_append += "-O0"
+#CXXFLAGS_append += "-O0"
+
+inherit autotools
+
+do_install_append () {
+        install -d ${D}${bindir}/tests/zeromq-${PV}
+        install -m 0755 ${B}/tests/.libs/* ${D}${bindir}/tests/zeromq-${PV}
+}
+
+PACKAGES = "${PN}-dbg ${PN}-test ${PN} ${PN}-staticdev ${PN}-doc ${PN}-dev ${PN}-locale"
+
+FILES_${PN}-dbg =+ "${bindir}/tests/zeromq-${PV}/.debug"
+FILES_${PN}-test = "${bindir}/tests"