Brad Bishop | 34ae600 | 2019-04-08 15:21:03 -0400 | [diff] [blame] | 1 | DESCRIPTION = "ZeroMQ looks like an embeddable networking library but acts like a concurrency framework" |
| 2 | HOMEPAGE = "http://www.zeromq.org" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 3 | LICENSE = "LGPL-3.0-or-later" |
Brad Bishop | 34ae600 | 2019-04-08 15:21:03 -0400 | [diff] [blame] | 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 \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 10 | file://0001-CMakeLists-txt-Avoid-host-specific-path-to-libsodium.patch \ |
Patrick Williams | 864cc43 | 2023-02-09 14:54:44 -0600 | [diff] [blame] | 11 | file://0001-src-secure_allocator.hpp-define-missing-rebind-type.patch \ |
Brad Bishop | 34ae600 | 2019-04-08 15:21:03 -0400 | [diff] [blame] | 12 | file://run-ptest \ |
| 13 | " |
Andrew Geissler | eef6386 | 2021-01-29 15:58:13 -0600 | [diff] [blame] | 14 | SRC_URI[md5sum] = "c897d4005a3f0b8276b00b7921412379" |
| 15 | SRC_URI[sha256sum] = "c593001a89f5a85dd2ddf564805deb860e02471171b3f204944857336295c3e5" |
Brad Bishop | 34ae600 | 2019-04-08 15:21:03 -0400 | [diff] [blame] | 16 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 17 | UPSTREAM_CHECK_URI = "https://github.com/${BPN}/libzmq/releases" |
| 18 | |
Brad Bishop | 34ae600 | 2019-04-08 15:21:03 -0400 | [diff] [blame] | 19 | inherit cmake ptest pkgconfig |
| 20 | |
| 21 | EXTRA_OECMAKE = "${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTS=ON', '-DBUILD_TESTS=OFF', d)} \ |
| 22 | -DCMAKE_SKIP_RPATH=ON \ |
| 23 | " |
| 24 | |
| 25 | do_install_ptest () { |
| 26 | install -d ${D}${PTEST_PATH}/tests |
| 27 | install -m 0755 ${B}/bin/test_* ${D}${PTEST_PATH}/tests |
| 28 | } |
| 29 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 30 | FILES:${PN}-doc += "${datadir}/zmq/*.txt" |