Files
Gyorgy Sarvari 69f1a41a94 curlpp: upgrade to latest revision
The last release was almost a decade ago, but there are quite
a few commits that were added to the project since that.

Instead of waiting for a new release, use the tip of the repository.

Changelog:
https://github.com/jpbarrette/curlpp/compare/v0.8.1...ec1b66e699557cd9d608d322c013a1ebda16bd08

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-17 13:25:14 -07:00

30 lines
881 B
BlitzBasic

SUMMARY = "C++ library for client-side URL transfers"
HOMEPAGE = "http://www.curlpp.org/"
SECTION = "libdevel"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=fd0c9adf285a69aa3b4faf34384e1029"
DEPENDS = "curl"
DEPENDS:class-native = "curl-native"
SRC_URI = "git://github.com/jpbarrette/curlpp.git;branch=master;protocol=https \
file://0001-curlpp-config.in-Remove-references-to-absolute-build.patch \
"
SRCREV = "ec1b66e699557cd9d608d322c013a1ebda16bd08"
PV .= "+git"
inherit cmake pkgconfig binconfig
BBCLASSEXTEND = "native nativesdk"
do_install:append() {
sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \
-e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
-e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
-i ${D}${libdir}/pkgconfig/*.pc
sed -i 's@${RECIPE_SYSROOT}@${CMAKE_SYSROOT}@' ${D}${libdir}/cmake/curlpp/curlppTargets.cmake
}