summaryrefslogtreecommitdiff
path: root/packages/ulxmlrpcpp/ulxmlrpcpp_1.7.3.bb
blob: 5ef98de4b2215fb7272397110187ae14d237f7a7 (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
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;patch=1 \
           file://remove-local-includes.patch;patch=1"

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.*"