void-packages/srcpkgs/KDSoap/template

31 lines
876 B
Bash

# Template file for 'KDSoap'
pkgname=KDSoap
version=1.9.0
revision=1
wrksrc="kdsoap-${version}"
build_style=cmake
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="qt5-devel"
short_desc="Qt-based client-side and server-side SOAP component"
maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://www.kdab.com/development-resources/qt-tools/kd-soap/"
distfiles="https://github.com/KDAB/KDSoap/releases/download/kdsoap-${version}/kdsoap-${version}.tar.gz"
checksum=e3b9626d5cb08f41a709fa35031ce17bfdd075b7387baf14ecf8a9ca10994828
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" KDSoap-devel"
fi
KDSoap-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/bin/kdwsdl2cpp
vmove "usr/lib/*.so"
vmove usr/share/mkspecs
}
}