void-packages/srcpkgs/kdnssd/template
2018-01-27 11:32:13 +01:00

25 lines
837 B
Bash

# Template file for 'kdnssd'
pkgname=kdnssd
version=5.42.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-tools-devel"
makedepends="qt5-devel qt5-tools-devel avahi-libs-devel"
short_desc="Network service discovery using Zeroconf"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kdnssd"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=946e1f9a609e55930c20127b6cb6d86599c21a4a13d83263a44ed50185f939cc
kdnssd-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}