void-packages/srcpkgs/mdnsd/template
2022-01-30 14:55:27 +01:00

44 lines
1,016 B
Bash

# Template file for 'mdnsd'
pkgname=mdnsd
version=0.11
revision=1
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"
changelog="https://github.com/troglobit/mdnsd/raw/master/ChangeLog.md"
distfiles="https://github.com/troglobit/mdnsd/archive/v${version}.tar.gz"
checksum=c2c6db73e237c96d17500e41ea0f53868de89ec428229b69a97ff0546fdccf68
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() {
short_desc+=" - library"
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"
}
}