Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame^] | 1 | SUMMARY = "C++ framework for json-rpc 1.0 and 2.0" |
| 2 | DESCRIPTION = "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." |
| 5 | HOMEPAGE = "https://github.com/cinemast/libjson-rpc-cpp" |
| 6 | LICENSE = "MIT" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4e728c5b36018f6c383b4b9efd9c8840" |
| 8 | SECTION = "libs" |
| 9 | |
| 10 | DEPENDS = "curl jsoncpp libmicrohttpd hiredis" |
| 11 | |
| 12 | SRC_URI = "git://github.com/cinemast/libjson-rpc-cpp" |
| 13 | SRCREV = "c696f6932113b81cd20cd4a34fdb1808e773f23e" |
| 14 | |
| 15 | S = "${WORKDIR}/git" |
| 16 | |
| 17 | PACKAGECONFIG ?= "" |
| 18 | PACKAGECONFIG[coverage] = "-DWITH_COVERAGE=YES,-DWITH_COVERAGE=NO,," |
| 19 | |
| 20 | inherit cmake |
| 21 | |
| 22 | EXTRA_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 | |
| 27 | FILES_${PN}-dev += "${libdir}/libjson-rpc-cpp/cmake" |