blob: 49e2015641c8c313b0178f58342c322597012b38 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "nanomsg-next-generation -- light-weight brokerless messaging"
2DESCRIPTION = "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."
3HOMEPAGE = "https://github.com/nanomsg/nng"
4LICENSE = "MIT"
Andrew Geisslerf103a7f2021-05-07 16:09:40 -05005LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a41e579bb4326c21c774f8e51e41d8a3"
Andrew Geissler82c905d2020-04-13 13:39:40 -05006
7SECTION = "libs/networking"
8
Andrew Geisslerf103a7f2021-05-07 16:09:40 -05009SRCREV = "d020adda8f0348d094790618703b8341a26007a3"
Andrew Geissler82c905d2020-04-13 13:39:40 -050010
Andrew Geisslerf103a7f2021-05-07 16:09:40 -050011SRC_URI = "git://github.com/nanomsg/nng.git"
Andrew Geissler82c905d2020-04-13 13:39:40 -050012
13S = "${WORKDIR}/git"
14
15inherit cmake pkgconfig
16
Andrew Geisslerf103a7f2021-05-07 16:09:40 -050017EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DNNG_ENABLE_NNGCAT=ON"
Andrew Geissler82c905d2020-04-13 13:39:40 -050018
19PACKAGECONFIG ??= ""
20
21PACKAGECONFIG[mbedtls] = "-DNNG_ENABLE_TLS=ON,-DNNG_ENABLE_TLS=OFF,mbedtls"
Andrew Geisslerf103a7f2021-05-07 16:09:40 -050022
23PACKAGES =+ "${PN}-tools"
Patrick Williams213cb262021-08-07 19:21:33 -050024FILES:${PN}-tools = "${bindir}/*"