void-packages/srcpkgs/qmdnsengine/template

32 lines
812 B
Bash

# Template file for 'qmdnsengine'
pkgname=qmdnsengine
version=0.1.0
revision=1
build_style=cmake
hostmakedepends="qt5-qmake"
makedepends="qt5-devel"
short_desc="Multicast DNS library for Qt applications"
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
license="MIT"
homepage="https://github.com/nitroshare/qmdnsengine"
distfiles="https://github.com/nitroshare/qmdnsengine/archive/${version}.tar.gz"
checksum=27416ca7b8b8a8588df4318de57127ef97e1205269fa506f00f21b09d30d3ac2
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools"
fi
post_install() {
vlicense LICENSE.txt
}
qmdnsengine-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}