mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 02:10:04 +00:00
libcpr: add new recipe
Curl for People C++ Requests is a simple wrapper around libcurl inspired by the excellent Python Requests project. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -241,6 +241,7 @@ RDEPENDS:packagegroup-meta-networking-support = "\
|
|||||||
vnstat \
|
vnstat \
|
||||||
wpan-tools \
|
wpan-tools \
|
||||||
ettercap \
|
ettercap \
|
||||||
|
libcpr \
|
||||||
"
|
"
|
||||||
RDEPENDS:packagegroup-meta-networking-support:remove:mipsarch = "memcached"
|
RDEPENDS:packagegroup-meta-networking-support:remove:mipsarch = "memcached"
|
||||||
RDEPENDS:packagegroup-meta-networking-support:remove:riscv64 = "memcached"
|
RDEPENDS:packagegroup-meta-networking-support:remove:riscv64 = "memcached"
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
SUMMARY = "Curl for People - C++ Requests"
|
||||||
|
DESCRIPTION = "Curl for People C++ Requests is a simple wrapper around \
|
||||||
|
libcurl inspired by the excellent Python Requests project."
|
||||||
|
HOMEPAGE = "https://docs.libcpr.org/"
|
||||||
|
|
||||||
|
LICENSE = "MIT"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=08beaae5deae1c43c065592da8f38095"
|
||||||
|
|
||||||
|
DEPENDS = "curl openssl"
|
||||||
|
|
||||||
|
SRC_URI = "git://github.com/libcpr/cpr.git;protocol=https;branch=1.10.x"
|
||||||
|
SRCREV = "3b15fa82ea74739b574d705fea44959b58142eb8"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
# building tests is currently using FetchContent for mongoose
|
||||||
|
EXTRA_OECMAKE += "\
|
||||||
|
-DCPR_USE_SYSTEM_CURL=ON \
|
||||||
|
-DCPR_BUILD_TESTS=OFF \
|
||||||
|
"
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
Reference in New Issue
Block a user