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 \ |
| 10 | file://run-ptest \ |
| 11 | " |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 12 | SRC_URI[md5sum] = "2047e917c2cc93505e2579bcba67a573" |
| 13 | SRC_URI[sha256sum] = "ebd7b5c830d6428956b67a0454a7f8cbed1de74b3b01e5c33c5378e22740f763" |
Brad Bishop | 34ae600 | 2019-04-08 15:21:03 -0400 | [diff] [blame] | 14 | |
| 15 | inherit cmake ptest pkgconfig |
| 16 | |
| 17 | EXTRA_OECMAKE = "${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTS=ON', '-DBUILD_TESTS=OFF', d)} \ |
| 18 | -DCMAKE_SKIP_RPATH=ON \ |
| 19 | " |
| 20 | |
| 21 | do_install_ptest () { |
| 22 | install -d ${D}${PTEST_PATH}/tests |
| 23 | install -m 0755 ${B}/bin/test_* ${D}${PTEST_PATH}/tests |
| 24 | } |
| 25 | |
| 26 | FILES_${PN}-doc += "${datadir}/zmq/*.txt" |