diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-connectivity/zeromq | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/zeromq')
-rw-r--r-- | meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | 19 | ||||
-rwxr-xr-x | meta-oe/recipes-connectivity/zeromq/files/run-ptest | 10 | ||||
-rw-r--r-- | meta-oe/recipes-connectivity/zeromq/zeromq_4.0.4.bb | 24 |
3 files changed, 53 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb new file mode 100644 index 000000000..34099766c --- /dev/null +++ b/meta-oe/recipes-connectivity/zeromq/cppzmq_git.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | DESCRIPTION = "C++ bindings for ZeroMQ" | ||
2 | HOMEPAGE = "http://www.zeromq.org" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=db174eaf7b55a34a7c89551197f66e94" | ||
5 | DEPENDS = "zeromq" | ||
6 | SRCREV = "ee47ae4cddc304741526c9bb2035f98c3274e0ec" | ||
7 | |||
8 | SRC_URI = "git://github.com/zeromq/cppzmq.git" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | do_install () { | ||
13 | install -d ${D}/usr/include | ||
14 | install -m 0755 ${S}/zmq.hpp ${D}/usr/include/ | ||
15 | } | ||
16 | |||
17 | PACKAGES = "${PN}-dev" | ||
18 | |||
19 | RDEPENDS_${PN}-dev = "zeromq-dev" | ||
diff --git a/meta-oe/recipes-connectivity/zeromq/files/run-ptest b/meta-oe/recipes-connectivity/zeromq/files/run-ptest new file mode 100755 index 000000000..48b9cd9fc --- /dev/null +++ b/meta-oe/recipes-connectivity/zeromq/files/run-ptest | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | cd tests | ||
4 | for i in `ls *`; do | ||
5 | if [ ./$i ] ; then | ||
6 | echo "PASS: $i" | ||
7 | else | ||
8 | echo "FAIL: $i" | ||
9 | fi | ||
10 | done | ||
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 000000000..80907fa7c --- /dev/null +++ b/meta-oe/recipes-connectivity/zeromq/zeromq_4.0.4.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | DESCRIPTION = "ZeroMQ looks like an embeddable networking library but acts like a concurrency framework" | ||
2 | HOMEPAGE = "http://www.zeromq.org" | ||
3 | LICENSE = "LGPLv3+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=d5311495d952062e0e4fbba39cbf3de1" | ||
5 | |||
6 | SRC_URI = "http://download.zeromq.org/zeromq-${PV}.tar.gz \ | ||
7 | file://run-ptest \ | ||
8 | " | ||
9 | SRC_URI[md5sum] = "f3c3defbb5ef6cc000ca65e529fdab3b" | ||
10 | SRC_URI[sha256sum] = "1ef71d46e94f33e27dd5a1661ed626cd39be4d2d6967792a275040e34457d399" | ||
11 | |||
12 | S = "${WORKDIR}/zeromq-${PV}" | ||
13 | |||
14 | #Uncomment to choose polling system manually. valid values are kqueue, epoll, devpoll, poll or select | ||
15 | #EXTRA_OECONF += "--with-poller=kqueue" | ||
16 | #CFLAGS_append += "-O0" | ||
17 | #CXXFLAGS_append += "-O0" | ||
18 | |||
19 | inherit autotools ptest | ||
20 | |||
21 | do_install_ptest () { | ||
22 | install -d ${D}${PTEST_PATH}/tests | ||
23 | install -m 0755 ${B}/tests/.libs/* ${D}${PTEST_PATH}/tests | ||
24 | } | ||