blob: 72fd561dd3d0d7d23a923c962d9bf6d969fb3980 [file] [log] [blame]
Brad Bishop34ae6002019-04-08 15:21:03 -04001DESCRIPTION = "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 \
Andrew Geissler82c905d2020-04-13 13:39:40 -050010 file://0001-CMakeLists-txt-Avoid-host-specific-path-to-libsodium.patch \
Brad Bishop34ae6002019-04-08 15:21:03 -040011 file://run-ptest \
12"
Andrew Geisslereef63862021-01-29 15:58:13 -060013SRC_URI[md5sum] = "c897d4005a3f0b8276b00b7921412379"
14SRC_URI[sha256sum] = "c593001a89f5a85dd2ddf564805deb860e02471171b3f204944857336295c3e5"
Brad Bishop34ae6002019-04-08 15:21:03 -040015
Andrew Geissler82c905d2020-04-13 13:39:40 -050016UPSTREAM_CHECK_URI = "https://github.com/${BPN}/libzmq/releases"
17
Brad Bishop34ae6002019-04-08 15:21:03 -040018inherit cmake ptest pkgconfig
19
20EXTRA_OECMAKE = "${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTS=ON', '-DBUILD_TESTS=OFF', d)} \
21 -DCMAKE_SKIP_RPATH=ON \
22"
23
24do_install_ptest () {
25 install -d ${D}${PTEST_PATH}/tests
26 install -m 0755 ${B}/bin/test_* ${D}${PTEST_PATH}/tests
27}
28
Patrick Williams213cb262021-08-07 19:21:33 -050029FILES:${PN}-doc += "${datadir}/zmq/*.txt"