void-packages/srcpkgs/mdnsd/template

44 lines
976 B
Bash
Raw Normal View History

2020-01-30 17:17:57 +01:00
# Template file for 'mdnsd'
pkgname=mdnsd
version=0.8
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=542b7dd2d168a1393eb3613761a72425ff8795c1596068246f1f2a1bd6083f69
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"
}
}