diff options
author | Vincent Prince <vincent.prince.fr@gmail.com> | 2019-04-04 15:58:57 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-04-06 08:22:22 -0700 |
commit | c2e532531e0d08a1049ee11e439d0259ba0179c3 (patch) | |
tree | b43cf9421ac3fe7e5200891675f70c49854f926a | |
parent | 44725208afee4603c71162240fd23638cb04135d (diff) | |
download | meta-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.bb | 32 | ||||
-rw-r--r-- | meta-oe/recipes-connectivity/zeromq/zeromq_4.3.1.bb | 26 |
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 @@ | |||
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 | PACKAGECONFIG ??= "libsodium" | ||
7 | PACKAGECONFIG[libsodium] = "--with-libsodium, --without-libsodium, libsodium" | ||
8 | |||
9 | SRC_URI = "http://github.com/zeromq/libzmq/releases/download/v${PV}/zeromq-${PV}.tar.gz \ | ||
10 | file://run-ptest \ | ||
11 | " | ||
12 | SRC_URI[md5sum] = "a1c95b34384257e986842f4d006957b8" | ||
13 | SRC_URI[sha256sum] = "cc9090ba35713d59bb2f7d7965f877036c49c5558ea0c290b0dcc6f2a17e489f" | ||
14 | |||
15 | S = "${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 | |||
22 | inherit autotools ptest pkgconfig | ||
23 | |||
24 | do_compile_ptest () { | ||
25 | echo 'buildtest-TESTS: $(check_PROGRAMS)' >> ${B}/Makefile | ||
26 | oe_runmake buildtest-TESTS | ||
27 | } | ||
28 | |||
29 | do_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 @@ | |||
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 | PACKAGECONFIG ??= "libsodium" | ||
7 | PACKAGECONFIG[libsodium] = "-DWITH_LIBSODIUM=ON,-DWITH_LIBSODIUM=OFF, libsodium" | ||
8 | |||
9 | SRC_URI = "http://github.com/zeromq/libzmq/releases/download/v${PV}/zeromq-${PV}.tar.gz \ | ||
10 | file://run-ptest \ | ||
11 | " | ||
12 | SRC_URI[md5sum] = "64cbf3577afdbfda30358bc757a6ac83" | ||
13 | SRC_URI[sha256sum] = "bcbabe1e2c7d0eec4ed612e10b94b112dd5f06fcefa994a0c79a45d835cd21eb" | ||
14 | |||
15 | inherit cmake ptest pkgconfig | ||
16 | |||
17 | EXTRA_OECMAKE = "${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTS=ON', '-DBUILD_TESTS=OFF', d)} \ | ||
18 | -DCMAKE_SKIP_RPATH=ON \ | ||
19 | " | ||
20 | |||
21 | do_install_ptest () { | ||
22 | install -d ${D}${PTEST_PATH}/tests | ||
23 | install -m 0755 ${B}/bin/test_* ${D}${PTEST_PATH}/tests | ||
24 | } | ||
25 | |||
26 | FILES_${PN}-doc += "${datadir}/zmq/*.txt" | ||