diff options
author | Tom Rini <trini@konsulko.com> | 2020-02-03 15:08:32 -0500 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-02-03 22:50:59 -0800 |
commit | 14e92f26794fca66b5f7cc7459e2757d9e7bd833 (patch) | |
tree | c098d5432bff564cc95b93ab1b0b2364deff76c3 /meta-networking | |
parent | 5af9b2a3a9011a2dd7f6abab8ee58a92fe28d60a (diff) | |
download | meta-openembedded-contrib-14e92f26794fca66b5f7cc7459e2757d9e7bd833.tar.gz |
nng: Add recipe
nng is the nanomsg project's rewrite of their libnanomsg library. Just
like nanomsg it is a socket library that provides several common
communication patterns.
Unlike nanomsg it does not normally provide a number of tools and we do
not attempt to add them here. We allow for optional mbedtls support.
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-connectivity/nanomsg/nng_1.2.5.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/nanomsg/nng_1.2.5.bb b/meta-networking/recipes-connectivity/nanomsg/nng_1.2.5.bb new file mode 100644 index 0000000000..77be27ffaa --- /dev/null +++ b/meta-networking/recipes-connectivity/nanomsg/nng_1.2.5.bb @@ -0,0 +1,21 @@ +SUMMARY = "nanomsg-next-generation -- light-weight brokerless messaging" +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." +HOMEPAGE = "https://github.com/nanomsg/nng" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a19b15be6e844b39a54de2ef665bd6de" + +SECTION = "libs/networking" + +SRCREV = "53ae1a5ab37fdfc9ad5c236df3eaf4dd63f0fee9" + +SRC_URI = "git://github.com/nanomsg/nng.git;branch=v1.2.x" + +S = "${WORKDIR}/git" + +inherit cmake pkgconfig + +EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON" + +PACKAGECONFIG ??= "" + +PACKAGECONFIG[mbedtls] = "-DNNG_ENABLE_TLS=ON,-DNNG_ENABLE_TLS=OFF,mbedtls" |