1 DESCRIPTION = "Avahi implements the DNS-SD over Multicast DNS"
2 HOMEPAGE = "http://www.freedesktop.org/Software/Avahi"
4 DEPENDS = "expat libdaemon dbus-0.50"
5 RRECOMMENDS = "libnss-mdns"
10 SRC_URI = "http://www.freedesktop.org/~lennart/avahi-${PV}.tar.gz"
12 PACKAGES = "avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dnsconfd libavahi-glib avahi-dev avahi-doc"
14 FILES_libavahi-common = "${libdir}/libavahi-common.so.*"
15 FILES_libavahi-core= "${libdir}/libavahi-core.so.*"
16 FILES_avahi-daemon = "${sbindir}/avahi-daemon \
17 ${sysconfdir}/avahi/avahi-daemon.conf \
18 ${sysconfdir}/avahi/services \
19 ${sysconfdir}/dbus-1 \
20 ${sysconfdir}/init.d/avahi-daemon \
21 ${datadir}/avahi/introspection/*.introspect \
22 ${datadir}/avahi/avahi-service.dtd"
23 FILES_libavahi-client = "${libdir}/libavahi-client.so.*"
24 FILES_avahi-dnsconfd = "${sbindir}/avahi-dnsconfd \
25 ${sysconfdir}/avahi/avahi-dnsconfd.action \
26 ${sysconfdir}/init.d/avahi-dnsconfd"
27 FILES_libavahi-glib = "${libdir}/libavahi-glib.so.*"
29 CONFFILES_avahi-daemon = "${sysconfdir}/avahi/avahi-daemon.conf"
31 EXTRA_OECONF = "--with-distro=debian --disable-gtk --disable-qt3 --disable-qt4 --disable-python"
35 INITSCRIPT_PACKAGES = "avahi-daemon avahi-dnsconfd"
36 INITSCRIPT_NAME_avahi-daemon = "avahi-daemon"
37 INITSCRIPT_PARAMS_avahi-daemon = "defaults 21 19"
38 INITSCRIPT_NAME_avahi-dnsconfd = "avahi-dnsconfd"
39 INITSCRIPT_PARAMS_avahi-dnsconfd = "defaults 22 19"
41 pkg_postinst_avahi-daemon () {
42 grep avahi /etc/group || addgroup avahi
43 grep avahi /etc/passwd || adduser --disabled-password --system --home /var/run/avahi-daemon --no-create-home avahi --ingroup avahi -g Avahi
44 /etc/init.d/dbus-1 force-reload
47 pkg_postrm_avahi-daemon () {
49 delgroup avahi || true