40 lines
1.0 KiB
Bash
40 lines
1.0 KiB
Bash
# Template file for 'gsoap'
|
|
pkgname=gsoap
|
|
version=2.8.69
|
|
revision=1
|
|
wrksrc="gsoap-${version%.*}"
|
|
build_style=gnu-configure
|
|
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="gSOAP-1.3b, GPL-2.0-only"
|
|
homepage="http://www.cs.fsu.edu/~engelen/soap.html"
|
|
distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
|
|
checksum=df0cc9ab66dce85f1842ca07abebaf9b04ca48a0a39013f90571e8172d4b0c7b
|
|
disable_parallel_build=yes
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" gsoap"
|
|
pre_build() {
|
|
# run host 'soapcpp2'
|
|
sed -i 's|^\(SOAP = \).*|\1soapcpp2|' gsoap/wsdl/Makefile
|
|
}
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense license.pdf
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|