summaryrefslogtreecommitdiff
path: root/recipes/ulxmlrpcpp/ulxmlrpcpp_1.7.3.bb
blob: b5ca1cd775c66eca94d2f1843d7939fdf82f8c06 (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
DESCRIPTION = "A lightweight C++ based library for XMLRPC applications"
HOMEPAGE = "http://ulxmlrpcpp.sf.net"
LICENSE = "LGPL"
SECTION = "libs"
DEPENDS = "expat"
PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/ulxmlrpcpp/ulxmlrpcpp-${PV}-src.tar.bz2 \
           file://disable-docs.patch \
           file://remove-local-includes.patch"

inherit autotools

do_configure_append() {
	echo "#define ulxr_snprintf   snprintf" >>ulxmlrpcpp/ulxmlrpcpp.h
}

do_stage() {
	autotools_stage_all
}

LEAD_SONAME = "libulxmlrpcpp.so"
PACKAGES =+ "${PN}-examples ${PN}-contrib"
FILES_${PN}-examples = "${bindir}/*"
FILES_${PN}-contrib = "${libdir}/*contrib.so.*"

SRC_URI[md5sum] = "7c5d849d8d1cd9ccfb4b90350145d503"
SRC_URI[sha256sum] = "0d568ff00cd45f73f3634723f8cb453f8bc952760cad3829bcbca88378a2ed83"