blob: bf25d56ee9377a2cfde85d1fd3512c256c3ff3e0 [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"
Andrew Geissler9aee5002022-03-30 16:27:02 +00003LICENSE = "LGPL-3.0-or-later"
Brad Bishop34ae6002019-04-08 15:21:03 -04004LIC_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 \
Patrick Williams864cc432023-02-09 14:54:44 -060011 file://0001-src-secure_allocator.hpp-define-missing-rebind-type.patch \
Brad Bishop34ae6002019-04-08 15:21:03 -040012 file://run-ptest \
13"
Andrew Geisslereef63862021-01-29 15:58:13 -060014SRC_URI[md5sum] = "c897d4005a3f0b8276b00b7921412379"
15SRC_URI[sha256sum] = "c593001a89f5a85dd2ddf564805deb860e02471171b3f204944857336295c3e5"
Brad Bishop34ae6002019-04-08 15:21:03 -040016
Andrew Geissler82c905d2020-04-13 13:39:40 -050017UPSTREAM_CHECK_URI = "https://github.com/${BPN}/libzmq/releases"
18
Brad Bishop34ae6002019-04-08 15:21:03 -040019inherit cmake ptest pkgconfig
20
21EXTRA_OECMAKE = "${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTS=ON', '-DBUILD_TESTS=OFF', d)} \
22 -DCMAKE_SKIP_RPATH=ON \
23"
24
25do_install_ptest () {
26 install -d ${D}${PTEST_PATH}/tests
27 install -m 0755 ${B}/bin/test_* ${D}${PTEST_PATH}/tests
28}
29
Patrick Williams213cb262021-08-07 19:21:33 -050030FILES:${PN}-doc += "${datadir}/zmq/*.txt"