void-packages/srcpkgs/gsoap/template

34 lines
995 B
Bash

# Template file for 'gsoap'
pkgname=gsoap
version=2.8.45
revision=1
build_style=gnu-configure
hostmakedepends="unzip flex autoconf"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" gsoap"
fi
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-3"
homepage="http://www.cs.fsu.edu/~engelen/soap.html"
distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
checksum=81946d1ecd99ea414383d5f090e6b292908ff3ac0211cb097a1d1d54e9808bce
wrksrc="${pkgname}-${version%.*}"
disable_parallel_build=yes
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/11649/steps/shell_3/logs/stdio";;
esac
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"
}
}