Patrick Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame^] | 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" |