GARNAME = avahi
GARVERSION = 0.6.11
CATEGORIES = freedesktop
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz

MASTER_SITES = http://avahi.org/download/

LIBDEPS = bootstrap/libdaemon freedesktop/dbus hacker-tools/glade bindings/pygtk

DESCRIPTION = avahi
define BLURB
 #FIXME: blurb goes here
endef

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS) --disable-qt3 --disable-qt4 --enable-compat-howl --enable-compat-libdns_sd --with-dbus-sys=$(sysconfdir)/dbus-1/system.d 

# build mono plugin using the mono stack from GARNOME
CONFIGURE_ARGS += --disable-mono --disable-monodoc 
CONFIGURE_ARGS += $(shell if test -e $(libdir)/pkgconfig/mono.pc; \
then echo " --enable-mono"; fi )
CONFIGURE_ARGS += $(shell if test -e $(libdir)/pkgconfig/mono_docs.pc; \
then echo " --enable-monodoc"; fi )

# Specify the distribution to target: One of debian, gentoo, archlinux, fedora,
# darwin, netbsd, freebsd, or none
CONFIGURE_ARGS += --with-distro=fedora

include ../category.mk
