26 lines
680 B
Bash
26 lines
680 B
Bash
# Template file for 'nss-mdns'
|
|
pkgname=nss-mdns
|
|
version=0.15.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="autoconf automake libtool pkg-config"
|
|
depends="avahi"
|
|
short_desc="NSS module for Multicast DNS name resolution"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://github.com/lathiat/nss-mdns"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=2d1b8de2e9ed5526f51c8bb627b719c07668465b5315787e7cfeed776ab90b9a
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl)
|
|
makedepends+="musl-nscd-devel"
|
|
broken="Uses glibc nss extensions"
|
|
;;
|
|
esac
|
|
|
|
export AVAHI_SOCKET="/run/avahi-daemon/socket"
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|