# Template file for 'gsoap'
pkgname=gsoap
version=2.8.22
revision=1
build_style=gnu-configure
hostmakedepends="unzip flex"
makedepends="libressl-devel zlib-devel"
short_desc="Toolkit for SOAP and REST Web Services and XML-Based Applications"
maintainer="Enno Boland <eb@s01.de>"
license="GPL-3"
homepage="http://www.cs.fsu.edu/~engelen/soap.html"
distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
checksum=2fdf14e6e4dece9409db53a3c4676a0b25711279bc2a8d8949a46c2d9907308b
wrksrc="${pkgname}-${version%.*}"
disable_parallel_build=yes

gsoap-devel_package() {
	depends="gsoap>=${version}_${revision} $makedepends"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/share"
	}
}
