# Tanım: Çok noktaya yayın / tek noktaya yayın DNS-SD çerçevesi
# URL: http://www.avahi.org/
# Paketçi: milisarge
# Gerekler: intltool glib dbus-python gobject-introspection libdaemon nss-mdns
# Grup: ağ

isim=avahi
surum=0.6.32
devir=1
kaynak=(https://github.com/lathiat/avahi/releases/download/v$surum/$isim-$surum.tar.gz)

derle() {
	cd $isim-$surum
	./configure \
	--prefix=/usr \
	--sysconfdir=/etc \
	--localstatedir=/var \
	--disable-python \
	--disable-qt3 \
	--disable-qt4 \
	--disable-monodoc \
	--enable-compat-libdns_sd \
	--disable-gtk \
	--disable-gtk3 \
	--disable-doxygen-doc \
	--disable-mono \
	--with-distro=none
	make
	make DESTDIR=$PKG install
	ln -s avahi-compat-libdns_sd/dns_sd.h $PKG/usr/include/dns_sd.h
	rm -r $PKG/{etc/avahi,var,usr/share/man/man8,usr/sbin}
}
