1*4882a593SmuzhiyunSUMMARY = "nanomsg socket library"
2*4882a593SmuzhiyunDESCRIPTION = "nanomsg is a socket library that provides several common \
3*4882a593Smuzhiyuncommunication patterns. It aims to make the networking layer fast, scalable, \
4*4882a593Smuzhiyunand easy to use. Implemented in C, it works on a wide range of operating \
5*4882a593Smuzhiyunsystems with no further dependencies."
6*4882a593SmuzhiyunHOMEPAGE = "https://nanomsg.org/"
7*4882a593SmuzhiyunLICENSE = "MIT"
8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=587b3fd7fd291e418ff4d2b8f3904755"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunSECTION = "libs/networking"
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunSRC_URI = "git://github.com/nanomsg/nanomsg.git;protocol=https;branch=master"
13*4882a593SmuzhiyunSRCREV = "1749fd7b039165a91b8d556b4df18e3e632ad830"
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunS = "${WORKDIR}/git"
16*4882a593Smuzhiyun
17*4882a593Smuzhiyuninherit cmake pkgconfig
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun# nanomsg documentation generation requires asciidoctor,
20*4882a593Smuzhiyun# not asciidoc, and currently there's no asciidoctor-native
21*4882a593Smuzhiyun# recipe anywhere in openembedded-core or meta-openembedded
22*4882a593SmuzhiyunEXTRA_OECMAKE = " -DNN_ENABLE_DOC=OFF "
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun# we don't want nanomsg-tools to be renamed to libnanomsg-tools
25*4882a593SmuzhiyunDEBIAN_NOAUTONAME:${PN}-tools = "1"
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunPACKAGES =+ "${PN}-tools"
28*4882a593SmuzhiyunFILES:${PN}-tools = "${bindir}/*"
29