summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Prince <vincent.prince.fr@gmail.com>2019-04-04 15:58:57 +0200
committerKhem Raj <raj.khem@gmail.com>2019-04-06 08:22:22 -0700
commitc2e532531e0d08a1049ee11e439d0259ba0179c3 (patch)
treeb43cf9421ac3fe7e5200891675f70c49854f926a
parent44725208afee4603c71162240fd23638cb04135d (diff)
downloadmeta-openembedded-c2e532531e0d08a1049ee11e439d0259ba0179c3.tar.gz
zeromq: bump version 4.2.5 => 4.3.1
Also, use cmake instead of autotools to build it. Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-connectivity/zeromq/zeromq_4.2.5.bb32
-rw-r--r--meta-oe/recipes-connectivity/zeromq/zeromq_4.3.1.bb26
2 files changed, 26 insertions, 32 deletions
diff --git a/meta-oe/recipes-connectivity/zeromq/zeromq_4.2.5.bb b/meta-oe/recipes-connectivity/zeromq/zeromq_4.2.5.bb
deleted file mode 100644
index 356348b43..000000000
--- a/meta-oe/recipes-connectivity/zeromq/zeromq_4.2.5.bb
+++ /dev/null
@@ -1,32 +0,0 @@
1DESCRIPTION = "ZeroMQ looks like an embeddable networking library but acts like a concurrency framework"
2HOMEPAGE = "http://www.zeromq.org"
3LICENSE = "LGPLv3+"
4LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=d5311495d952062e0e4fbba39cbf3de1"
5
6PACKAGECONFIG ??= "libsodium"
7PACKAGECONFIG[libsodium] = "--with-libsodium, --without-libsodium, libsodium"
8
9SRC_URI = "http://github.com/zeromq/libzmq/releases/download/v${PV}/zeromq-${PV}.tar.gz \
10 file://run-ptest \
11"
12SRC_URI[md5sum] = "a1c95b34384257e986842f4d006957b8"
13SRC_URI[sha256sum] = "cc9090ba35713d59bb2f7d7965f877036c49c5558ea0c290b0dcc6f2a17e489f"
14
15S = "${WORKDIR}/zeromq-${PV}"
16
17#Uncomment to choose polling system manually. valid values are kqueue, epoll, devpoll, poll or select
18#EXTRA_OECONF += "--with-poller=kqueue"
19#CFLAGS_append = " -O0"
20#CXXFLAGS_append = " -O0"
21
22inherit autotools ptest pkgconfig
23
24do_compile_ptest () {
25 echo 'buildtest-TESTS: $(check_PROGRAMS)' >> ${B}/Makefile
26 oe_runmake buildtest-TESTS
27}
28
29do_install_ptest () {
30 install -d ${D}${PTEST_PATH}/tests
31 install -m 0755 ${B}/tests/.libs/test_* ${D}${PTEST_PATH}/tests
32}
diff --git a/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.1.bb b/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.1.bb
new file mode 100644
index 000000000..6e1337646
--- /dev/null
+++ b/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.1.bb
@@ -0,0 +1,26 @@
1DESCRIPTION = "ZeroMQ looks like an embeddable networking library but acts like a concurrency framework"
2HOMEPAGE = "http://www.zeromq.org"
3LICENSE = "LGPLv3+"
4LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=d5311495d952062e0e4fbba39cbf3de1"
5
6PACKAGECONFIG ??= "libsodium"
7PACKAGECONFIG[libsodium] = "-DWITH_LIBSODIUM=ON,-DWITH_LIBSODIUM=OFF, libsodium"
8
9SRC_URI = "http://github.com/zeromq/libzmq/releases/download/v${PV}/zeromq-${PV}.tar.gz \
10 file://run-ptest \
11"
12SRC_URI[md5sum] = "64cbf3577afdbfda30358bc757a6ac83"
13SRC_URI[sha256sum] = "bcbabe1e2c7d0eec4ed612e10b94b112dd5f06fcefa994a0c79a45d835cd21eb"
14
15inherit cmake ptest pkgconfig
16
17EXTRA_OECMAKE = "${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTS=ON', '-DBUILD_TESTS=OFF', d)} \
18 -DCMAKE_SKIP_RPATH=ON \
19"
20
21do_install_ptest () {
22 install -d ${D}${PTEST_PATH}/tests
23 install -m 0755 ${B}/bin/test_* ${D}${PTEST_PATH}/tests
24}
25
26FILES_${PN}-doc += "${datadir}/zmq/*.txt"