blob: 43dc2e36a4d7abfad1b8796b78a2c4628d7c146b [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "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"
6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4e728c5b36018f6c383b4b9efd9c8840"
8SECTION = "libs"
9
10DEPENDS = "curl jsoncpp libmicrohttpd hiredis"
11
Andrew Geissler595f6302022-01-24 19:11:47 +000012SRC_URI = "git://github.com/cinemast/libjson-rpc-cpp;branch=master;protocol=https \
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050013 file://0001-Fix-build-with-libmicrohttpd.patch \
14"
15
Andrew Geissler82c905d2020-04-13 13:39:40 -050016SRCREV = "c696f6932113b81cd20cd4a34fdb1808e773f23e"
17
18S = "${WORKDIR}/git"
19
20PACKAGECONFIG ?= ""
21PACKAGECONFIG[coverage] = "-DWITH_COVERAGE=YES,-DWITH_COVERAGE=NO,,"
22
23inherit cmake
24
25EXTRA_OECMAKE += "-DCOMPILE_TESTS=NO -DCOMPILE_STUBGEN=NO -DCOMPILE_EXAMPLES=NO \
26 -DBUILD_SHARED_LIBS=YES -DBUILD_STATIC_LIBS=YES \
27 -DCMAKE_LIBRARY_PATH=${libdir} \
28"
29
Patrick Williams213cb262021-08-07 19:21:33 -050030FILES:${PN}-dev += "${libdir}/libjson-rpc-cpp/cmake"