Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 1 | SUMMARY = "nanomsg-next-generation -- light-weight brokerless messaging" |
| 2 | DESCRIPTION = "NNG, like its predecessors nanomsg (and to some extent ZeroMQ), is a lightweight, broker-less library, offering a simple API to solve common recurring messaging problems, such as publish/subscribe, RPC-style request/reply, or service discovery." |
| 3 | HOMEPAGE = "https://github.com/nanomsg/nng" |
| 4 | SECTION = "libs/networking" |
| 5 | LICENSE = "MIT" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a41e579bb4326c21c774f8e51e41d8a3" |
| 7 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 8 | SRC_URI = "git://github.com/nanomsg/nng.git;branch=master;protocol=https" |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 9 | SRCREV = "169221da8d53b2ca4fda76f894bee8505887a7c6" |
| 10 | |
| 11 | S = "${WORKDIR}/git" |
| 12 | |
| 13 | inherit cmake pkgconfig |
| 14 | |
| 15 | EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DNNG_ENABLE_NNGCAT=ON" |
| 16 | |
| 17 | PACKAGECONFIG ??= "" |
| 18 | |
| 19 | PACKAGECONFIG[mbedtls] = "-DNNG_ENABLE_TLS=ON,-DNNG_ENABLE_TLS=OFF,mbedtls" |
| 20 | |
| 21 | PACKAGES =+ "${PN}-tools" |
| 22 | FILES:${PN}-tools = "${bindir}/*" |