blob: dbf44d796f75f2ea1d0bfb72be258931833f5264 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001SUMMARY = "C++ framework for json-rpc 1.0 and 2.0"
2DESCRIPTION = "JsonRpc-Cpp is an OpenSource implementation of JSON-RPC \
3 protocol in C++. JSON-RPC is a lightweight remote procedure \
4 call protocol similar to XML-RPC."
5HOMEPAGE = "https://github.com/cinemast/libjson-rpc-cpp"
Brad Bishop19323692019-04-05 15:28:33 -04006LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4e728c5b36018f6c383b4b9efd9c8840"
8SECTION = "libs"
Brad Bishop7e36d532019-09-16 07:44:26 -04009
Brad Bishop19323692019-04-05 15:28:33 -040010DEPENDS = "curl jsoncpp libmicrohttpd hiredis"
11
Brad Bishop7e36d532019-09-16 07:44:26 -040012SRC_URI = "git://github.com/cinemast/libjson-rpc-cpp"
13SRCREV = "4ed5b00dcc409405a19e6d8c6478f703153430e1"
Brad Bishop19323692019-04-05 15:28:33 -040014
15S = "${WORKDIR}/git"
16
Brad Bishop00ab2372019-10-14 11:06:18 -040017PACKAGECONFIG ?= ""
18PACKAGECONFIG[coverage] = "-DWITH_COVERAGE=YES,-DWITH_COVERAGE=NO,,"
19
Brad Bishop19323692019-04-05 15:28:33 -040020inherit cmake
21
22EXTRA_OECMAKE += "-DCOMPILE_TESTS=NO -DCOMPILE_STUBGEN=NO -DCOMPILE_EXAMPLES=NO \
23 -DBUILD_SHARED_LIBS=YES -DBUILD_STATIC_LIBS=YES \
24 -DCMAKE_LIBRARY_PATH=${libdir} \
25"
26
27FILES_${PN}-dev += "${libdir}/libjson-rpc-cpp/cmake"