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" |
| 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 \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 10 | file://0001-CMakeLists-txt-Avoid-host-specific-path-to-libsodium.patch \ |
Brad Bishop | 34ae600 | 2019-04-08 15:21:03 -0400 | [diff] [blame] | 11 | file://run-ptest \ |
| 12 | " |
Andrew Geissler | eef6386 | 2021-01-29 15:58:13 -0600 | [diff] [blame] | 13 | SRC_URI[md5sum] = "c897d4005a3f0b8276b00b7921412379" |
| 14 | SRC_URI[sha256sum] = "c593001a89f5a85dd2ddf564805deb860e02471171b3f204944857336295c3e5" |
Brad Bishop | 34ae600 | 2019-04-08 15:21:03 -0400 | [diff] [blame] | 15 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 16 | UPSTREAM_CHECK_URI = "https://github.com/${BPN}/libzmq/releases" |
| 17 | |
Brad Bishop | 34ae600 | 2019-04-08 15:21:03 -0400 | [diff] [blame] | 18 | inherit cmake ptest pkgconfig |
| 19 | |
| 20 | EXTRA_OECMAKE = "${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTS=ON', '-DBUILD_TESTS=OFF', d)} \ |
| 21 | -DCMAKE_SKIP_RPATH=ON \ |
| 22 | " |
| 23 | |
| 24 | do_install_ptest () { |
| 25 | install -d ${D}${PTEST_PATH}/tests |
| 26 | install -m 0755 ${B}/bin/test_* ${D}${PTEST_PATH}/tests |
| 27 | } |
| 28 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 29 | FILES:${PN}-doc += "${datadir}/zmq/*.txt" |