Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | DESCRIPTION = "The gSOAP toolkit provides a unique SOAP-to-C/C++ language binding \ |
| 2 | for the development of SOAP Web Services and clients." |
| 3 | SECTION = "devel" |
| 4 | LICENSE = "GPL-2.0-with-OpenSSL-exception" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4f40a941379143186f9602242c3fb729 \ |
| 6 | file://GPLv2_license.txt;md5=a33672dbe491b6517750a0389063508b" |
| 7 | |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 8 | SRC_URI = "https://prdownloads.sourceforge.net/${BPN}2/${BPN}_${PV}.zip" |
| 9 | SRC_URI:append:libc-musl = " file://0001-Simplify-check-for-gethostbyname_r.patch" |
| 10 | SRC_URI[sha256sum] = "b65190ebf8c2517d6fafbdc2000bc7bc650d921a02f4aa53eb1e3df267592c4a" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 11 | |
| 12 | inherit autotools |
| 13 | |
| 14 | BBCLASSEXTEND = "native" |
| 15 | |
| 16 | S = "${WORKDIR}/${BPN}-2.8" |
| 17 | |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 18 | EXTRA_OECONF += "--enable-ipv6 --enable-c-locale" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 19 | PARALLEL_MAKE = "" |
| 20 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 21 | EXTRA_OEMAKE:class-target = "SOAP=${STAGING_BINDIR_NATIVE}/soapcpp2" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 22 | |
| 23 | DEPENDS = "openssl zlib flex bison bison-native" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 24 | DEPENDS:append:class-target = " gsoap-native" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 25 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 26 | do_install:append() { |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 27 | install -d ${D}${libdir} |
| 28 | for lib in libgsoapssl libgsoapssl++ libgsoap libgsoapck++ libgsoap++ libgsoapck |
| 29 | do |
| 30 | oe_libinstall -C gsoap $lib ${D}${libdir} |
| 31 | done |
| 32 | } |
| 33 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 34 | do_install:class-native() { |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 35 | oe_runmake DESTDIR=${D} BINDIR=${D}${bindir} install |
| 36 | } |
| 37 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 38 | FILES:${PN} = "${bindir}/wsdl2h ${bindir}/soapcpp2" |
| 39 | FILES:${PN} += "${datadir}" |
| 40 | FILES:${PN}-staticdev = "${libdir}" |
| 41 | FILES:${PN}-dev = "${includedir}" |
| 42 | RRECOMMENDS:${PN}-dev = "${PN}-staticdev" |