void-packages/srcpkgs/mdnsd/template

44 lines
977 B
Bash

# Template file for 'mdnsd'
pkgname=mdnsd
version=0.10
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"
distfiles="https://github.com/troglobit/mdnsd/archive/v${version}.tar.gz"
checksum=2e1a77fc9ff36e993a39b10016fe38723784ca7e3141ca00e4d6f43545d2988c
conf_files="
/etc/mdns.d/ssh.service"
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"
}
}