void-packages/srcpkgs/mdnsd/template
Miko 36d42402fd mdnsd: Conflicts with mDNSResponder
mdnsd and mDNSResponder both provide /usr/bin/mdnsd, so they should be
marked as conflicting.

Reported-by: MGlolenstine <not@applicable>
Signed-off-by: Miko <65079739+mikoxyz@users.noreply.github.com>
2021-11-16 09:17:41 -03:00

44 lines
1,003 B
Bash

# Template file for 'mdnsd'
pkgname=mdnsd
version=0.10
revision=3
build_style=gnu-configure
hostmakedepends="autoconf automake pkg-config libtool"
short_desc="Embeddable Multicast DNS Daemon"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/troglobit/mdnsd"
distfiles="https://github.com/troglobit/mdnsd/archive/v${version}.tar.gz"
checksum=2e1a77fc9ff36e993a39b10016fe38723784ca7e3141ca00e4d6f43545d2988c
conf_files="
/etc/mdns.d/ssh.service"
conflicts="mDNSResponder"
pre_configure() {
./autogen.sh
}
post_install() {
rm ${DESTDIR}/usr/share/doc/mdnsd/LICENSE
vlicense LICENSE
}
libmdnsd_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so.*"
vlicense LICENSE
}
}
libmdnsd-devel_package() {
depends="libmdnsd>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}