New package: mdnsd-0.8

This commit is contained in:
Duncaen 2020-01-30 17:17:57 +01:00
parent fd6c41f3b1
commit c934651b70
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
4 changed files with 46 additions and 0 deletions

View File

@ -3794,3 +3794,4 @@ librdkafka.so.1 librdkafka-1.3.0_1
librdkafka++.so.1 librdkafka-1.3.0_1
libco.so.0 libco-20_1
libraft.so.0 raft-0.9.16_1
libmdnsd.so.0 libmdnsd-0.8_1

1
srcpkgs/libmdnsd Symbolic link
View File

@ -0,0 +1 @@
mdnsd

1
srcpkgs/libmdnsd-devel Symbolic link
View File

@ -0,0 +1 @@
mdnsd

43
srcpkgs/mdnsd/template Normal file
View File

@ -0,0 +1,43 @@
# 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"
}
}