diff options
| author | Peter Marko <peter.marko@siemens.com> | 2024-03-26 21:30:34 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-03-26 14:00:53 -0700 |
| commit | b0ca28a7e01020b29b6c979ca128006009d8d04d (patch) | |
| tree | e349de911137b14d526a9372a73b2f01db6cd7d0 /meta-networking | |
| parent | c2a5221fa775ab0b865b167859d0263522153799 (diff) | |
| download | meta-openembedded-b0ca28a7e01020b29b6c979ca128006009d8d04d.tar.gz | |
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>
Diffstat (limited to 'meta-networking')
| -rw-r--r-- | meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb | 1 | ||||
| -rw-r--r-- | meta-networking/recipes-support/libcpr/libcpr_1.10.5.bb | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb b/meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb index 941efedd65..2e3aa54411 100644 --- a/meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb +++ b/meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb | |||
| @@ -241,6 +241,7 @@ RDEPENDS:packagegroup-meta-networking-support = "\ | |||
| 241 | vnstat \ | 241 | vnstat \ |
| 242 | wpan-tools \ | 242 | wpan-tools \ |
| 243 | ettercap \ | 243 | ettercap \ |
| 244 | libcpr \ | ||
| 244 | " | 245 | " |
| 245 | RDEPENDS:packagegroup-meta-networking-support:remove:mipsarch = "memcached" | 246 | RDEPENDS:packagegroup-meta-networking-support:remove:mipsarch = "memcached" |
| 246 | RDEPENDS:packagegroup-meta-networking-support:remove:riscv64 = "memcached" | 247 | RDEPENDS:packagegroup-meta-networking-support:remove:riscv64 = "memcached" |
diff --git a/meta-networking/recipes-support/libcpr/libcpr_1.10.5.bb b/meta-networking/recipes-support/libcpr/libcpr_1.10.5.bb new file mode 100644 index 0000000000..93fdb78eba --- /dev/null +++ b/meta-networking/recipes-support/libcpr/libcpr_1.10.5.bb | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | SUMMARY = "Curl for People - C++ Requests" | ||
| 2 | DESCRIPTION = "Curl for People C++ Requests is a simple wrapper around \ | ||
| 3 | libcurl inspired by the excellent Python Requests project." | ||
| 4 | HOMEPAGE = "https://docs.libcpr.org/" | ||
| 5 | |||
| 6 | LICENSE = "MIT" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=08beaae5deae1c43c065592da8f38095" | ||
| 8 | |||
| 9 | DEPENDS = "curl openssl" | ||
| 10 | |||
| 11 | SRC_URI = "git://github.com/libcpr/cpr.git;protocol=https;branch=1.10.x" | ||
| 12 | SRCREV = "3b15fa82ea74739b574d705fea44959b58142eb8" | ||
| 13 | |||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | inherit cmake | ||
| 17 | |||
| 18 | # building tests is currently using FetchContent for mongoose | ||
| 19 | EXTRA_OECMAKE += "\ | ||
| 20 | -DCPR_USE_SYSTEM_CURL=ON \ | ||
| 21 | -DCPR_BUILD_TESTS=OFF \ | ||
| 22 | " | ||
| 23 | |||
| 24 | BBCLASSEXTEND = "native nativesdk" | ||
