blob: 6e133764637bd1ddfbf4495b69c86c3dbce1ee9a [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 \
10 file://run-ptest \
11"
12SRC_URI[md5sum] = "64cbf3577afdbfda30358bc757a6ac83"
13SRC_URI[sha256sum] = "bcbabe1e2c7d0eec4ed612e10b94b112dd5f06fcefa994a0c79a45d835cd21eb"
14
15inherit cmake ptest pkgconfig
16
17EXTRA_OECMAKE = "${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTS=ON', '-DBUILD_TESTS=OFF', d)} \
18 -DCMAKE_SKIP_RPATH=ON \
19"
20
21do_install_ptest () {
22 install -d ${D}${PTEST_PATH}/tests
23 install -m 0755 ${B}/bin/test_* ${D}${PTEST_PATH}/tests
24}
25
26FILES_${PN}-doc += "${datadir}/zmq/*.txt"