void-packages/srcpkgs/nss-mdns/template

25 lines
632 B
Bash

# Template file for 'nss-mdns'
pkgname=nss-mdns
version=0.14.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="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/lathiat/nss-mdns"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=4fe54bffd20e410fc41382dc6c4708cdfa3a65f50c3753f262dc4c78fd864a6e
case "$XBPS_TARGET_MACHINE" in
*-musl)
makedepends+="musl-nscd-devel"
broken="Uses glibc nss extensions"
;;
esac
pre_configure() {
autoreconf -fi
}