31 lines
879 B
Bash
31 lines
879 B
Bash
# Template file for 'KDSoap'
|
|
pkgname=KDSoap
|
|
version=1.10.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=0c606ecc434466dbadb2829820ca163af60cc7ca226f553b5d4032196737338f
|
|
|
|
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
|
|
}
|
|
}
|