blob: 131f1873a285e07029cc57a91b58ff432ce9c7aa [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001SUMMARY = "C++ library for client-side URL transfers"
2HOMEPAGE = "http://www.curlpp.org/"
3SECTION = "libdevel"
4LICENSE = "MIT"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08005LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=fd0c9adf285a69aa3b4faf34384e1029"
Brad Bishop6e60e8b2018-02-01 10:27:11 -05006
7DEPENDS = "curl"
Patrick Williams213cb262021-08-07 19:21:33 -05008DEPENDS:class-native = "curl-native"
Brad Bishop6e60e8b2018-02-01 10:27:11 -05009
Patrick Williamse760df82023-05-26 11:10:49 -050010SRC_URI = "git://github.com/jpbarrette/curlpp.git;branch=master;protocol=https \
11 file://0001-curlpp-config.in-Remove-references-to-absolute-build.patch"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050012
13SRCREV = "592552a165cc569dac7674cb7fc9de3dc829906f"
14
15S = "${WORKDIR}/git"
16
17inherit cmake pkgconfig binconfig
18
Brad Bishop6e60e8b2018-02-01 10:27:11 -050019BBCLASSEXTEND = "native nativesdk"
Patrick Williams0ca19cc2021-08-16 14:03:13 -050020
21do_install:append() {
22 sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \
23 -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
24 -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
25 -i ${D}${libdir}/pkgconfig/*.pc
26}