summaryrefslogtreecommitdiff
path: root/recipes/gsoap/gsoap_2.7.7.bb
blob: 83c7cbb331690878ec897c361f1a361f7ed41298 (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
DESCRIPTION = "The gSOAP toolkit provides a unique SOAP-to-C/C++ language binding \
for the development of SOAP Web Services and clients."
SECTION = "devel"
LICENSE = "GPL"
DEPENDS = "gsoap-native"
PR = "r3"

SRC_URI = "${SOURCEFORGE_MIRROR}/gsoap2/gsoap_${PV}.tar.gz \
           file://rename_bogus_ldflags.patch;patch=1"
S = "${WORKDIR}/gsoap-2.7"

inherit autotools

PARALLEL_MAKE = ""

EXTRA_OEMAKE = "SOAP=${STAGING_BINDIR_NATIVE}/soapcpp2"

do_install_append() {
	install -d ${D}${libdir}
	for lib in libgsoapssl libgsoapssl++ libgsoap libgsoapck++ libgsoap++ libgsoapck
	do
		oe_libinstall -C soapcpp2 $lib ${D}${libdir}
	done
}

do_stage() {
	autotools_stage_all
}

PACKAGES = "${PN}-dbg ${PN}-dev ${PN} ${PN}-doc ${PN}-locale"
FILES_gsoap-dev = "${bindir}/wsdl2h ${bindir}/soapcpp2 ${libdir}"