void-packages/srcpkgs/kdnssd/template
2018-02-22 01:32:39 +01:00

25 lines
837 B
Bash

# Template file for 'kdnssd'
pkgname=kdnssd
version=5.43.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=6b6499faf6678fda87cf42449cb727256b74c2b450e8c4ab1d5de410a352a834
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
}
}