43 lines
976 B
Bash
43 lines
976 B
Bash
# Template file for 'mdnsd'
|
|
pkgname=mdnsd
|
|
version=0.9
|
|
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=ab62855e3f228a2715bc62a75c4dd48723034c3e6028b64214343b1aa9a13b7f
|
|
|
|
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"
|
|
}
|
|
}
|