void-packages/srcpkgs/KDSoap/template
2020-10-09 20:34:17 +02:00

30 lines
878 B
Bash

# Template file for 'KDSoap'
pkgname=KDSoap
version=1.9.1
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=a020ea26e91a2bcdbfa7bc631870ed07be2c583ae29114cfe72a5a94e0e93d27
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
}
}