45 lines
1016 B
Bash
45 lines
1016 B
Bash
# Template file for 'mdnsd'
|
|
pkgname=mdnsd
|
|
version=0.10
|
|
revision=4
|
|
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=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() {
|
|
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"
|
|
}
|
|
}
|