blob: a10500475c74ada7b148741582a904c9ddafc24a [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 Geisslerd688a012020-09-18 13:36:00 -050013SRC_URI[md5sum] = "78acc277d95e10812d71b2b3c3c3c9a9"
14SRC_URI[sha256sum] = "9d9285db37ae942ed0780c016da87060497877af45094ff9e1a1ca736e3875a2"
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
29FILES_${PN}-doc += "${datadir}/zmq/*.txt"