xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "C++ library for client-side URL transfers"
2HOMEPAGE = "http://www.curlpp.org/"
3SECTION = "libdevel"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=fd0c9adf285a69aa3b4faf34384e1029"
6
7DEPENDS = "curl"
8DEPENDS:class-native = "curl-native"
9
10SRC_URI = "git://github.com/jpbarrette/curlpp.git;branch=master;protocol=https"
11
12SRCREV = "592552a165cc569dac7674cb7fc9de3dc829906f"
13
14S = "${WORKDIR}/git"
15
16inherit cmake pkgconfig binconfig
17
18BBCLASSEXTEND = "native nativesdk"
19
20do_install:append() {
21    sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \
22        -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
23        -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
24        -i ${D}${libdir}/pkgconfig/*.pc
25}
26