void-packages/srcpkgs/KDSoap/template
2021-07-15 21:21:46 +02:00

30 lines
878 B
Bash

# Template file for 'KDSoap'
pkgname=KDSoap
version=2.0.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 <me@johnnynator.dev>"
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=d18963104fa6f7d02b044631cddbe78f18f70e06c607af680c7ace04d6cf04ee
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
}
}