aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb
blob: 43e69b93ae0b8bd50792b1d8b35f16842543bd2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
SUMMARY = "C++ library for client-side URL transfers"
HOMEPAGE = "http://code.google.com/p/curlpp/"
SECTION = "libdevel"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

DEPENDS = "curl boost"
DEPENDS_class-native = "curl-native"

SRC_URI = "http://curlpp.googlecode.com/files/curlpp-${PV}.tar.gz \
           file://example21.cpp-remove-deprecated-code.patch \
	"

SRC_URI[md5sum] = "ccc3d30d4b3b5d2cdbed635898c29485"
SRC_URI[sha256sum] = "e3f9427b27c5bddf898d383d45c0d3d5397e2056ff935d9a5cdaef6a9a653bd5"

inherit autotools-brokensep pkgconfig binconfig

PACKAGES =+ "libcurlpp libcurlpp-dev libcurlpp-staticdev"

FILES_lib${BPN} = "${libdir}/lib*.so.* \
		"

FILES_lib${BPN}-dev = "${includedir} \
                      ${libdir}/lib*.la \
                      ${libdir}/pkgconfig \
                      ${bindir}/*-config"

FILES_lib${BPN}-staticdev = "${libdir}/lib*.a"

BBCLASSEXTEND = "native nativesdk"

# http://errors.yoctoproject.org/Errors/Details/68623/
PNBLACKLIST[curlpp] ?= "BROKEN: fails to build with gcc-6"