d07c1ef47a
Closes: #10079 [via git-merge-pr]
35 lines
987 B
Bash
35 lines
987 B
Bash
# Template file for 'gsoap'
|
|
pkgname=gsoap
|
|
version=2.8.58
|
|
revision=1
|
|
build_style=gnu-configure
|
|
wrksrc="${pkgname}-${version%.*}"
|
|
disable_parallel_build=yes
|
|
configure_args="--enable-ipv6"
|
|
hostmakedepends="unzip flex autoconf"
|
|
makedepends="libressl-devel zlib-devel"
|
|
short_desc="Toolkit for SOAP and REST Web Services and XML-Based Applications"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://www.cs.fsu.edu/~engelen/soap.html"
|
|
distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
|
|
checksum=975eca5b1a9109abe9527ed105e41b21d40ae01e2c2d2daf4bfdb9f4921234b4
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" gsoap"
|
|
pre_build() {
|
|
# run host 'soapcpp2'
|
|
sed -i 's|^\(SOAP = \).*|\1soapcpp2|' gsoap/wsdl/Makefile
|
|
}
|
|
fi
|
|
|
|
gsoap-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/share"
|
|
}
|
|
}
|