void-packages/srcpkgs/signond/template

45 lines
1.1 KiB
Bash

# Template file for 'signond'
pkgname=signond
version=8.60
revision=3
wrksrc="signond-VERSION_${version}"
build_style=qmake
configure_args="LIBDIR=/usr/lib"
conf_files="/etc/signond.conf"
hostmakedepends="pkg-config doxygen qt5-host-tools qt5-qmake"
makedepends="qt5-devel"
short_desc="Daemon providing SSO over D-Bus for the gSSO framework"
maintainer="John Rowley <enterthevoid@codesector.co>"
license="LGPL-2.1-only"
homepage="https://gitlab.com/accounts-sso/signond"
distfiles="${homepage}/-/archive/VERSION_${version}/signond-VERSION_${version}.tar.gz"
checksum=0da2a080e4b01f44855d1a519f828007a5c756ee93827db9098a1b4b880f28fe
pre_configure() {
if [ "$CROSS_BUILD" ]; then
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"
for i in ${XBPS_CROSS_BASE}/usr/include/qt5/*; do
CXXFLAGS+=" -I$i"
done
fi
}
signond-doc_package() {
short_desc+=" - documentation"
pkg_install() {
vmove usr/share/doc
}
}
signond-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/cmake
}
}