diff options
Diffstat (limited to 'openembedded/packages/avahi/avahi_0.2.bb')
| -rw-r--r-- | openembedded/packages/avahi/avahi_0.2.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/openembedded/packages/avahi/avahi_0.2.bb b/openembedded/packages/avahi/avahi_0.2.bb new file mode 100644 index 0000000000..00c4dbd599 --- /dev/null +++ b/openembedded/packages/avahi/avahi_0.2.bb | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | DESCRIPTION = "Avahi implements the DNS-SD over Multicast DNS" | ||
| 2 | HOMEPAGE = "http://www.freedesktop.org/Software/Avahi" | ||
| 3 | LICENCE= "GPL" | ||
| 4 | DEPENDS = "expat libdaemon dbus-0.34" | ||
| 5 | RRECOMMENDS = "libnss-mdns" | ||
| 6 | SECTION = "net" | ||
| 7 | PRIORITY = "optional" | ||
| 8 | |||
| 9 | SRC_URI = "http://www.freedesktop.org/~lennart/avahi-${PV}.tar.gz" | ||
| 10 | |||
| 11 | # file://no-strict-ansi.patch;patch=1" | ||
| 12 | |||
| 13 | PACKAGES = "avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dnsconfd libavahi-glib avahi-dev avahi-doc" | ||
| 14 | |||
| 15 | FILES_libavahi-common = "${libdir}/libavahi-common.so.*" | ||
| 16 | FILES_libavahi-core= "${libdir}/libavahi-core.so.*" | ||
| 17 | FILES_avahi-daemon = "${sbindir}/avahi-daemon \ | ||
| 18 | ${sysconfdir}/avahi/avahi-daemon.conf \ | ||
| 19 | ${sysconfdir}/avahi/services \ | ||
| 20 | ${sysconfdir}/dbus-1 \ | ||
| 21 | ${sysconfdir}/init.d/avahi-daemon \ | ||
| 22 | ${datadir}/avahi/introspection/*.introspect \ | ||
| 23 | ${datadir}/avahi/avahi-service.dtd" | ||
| 24 | FILES_libavahi-client = "${libdir}/libavahi-client.so.*" | ||
| 25 | FILES_avahi-dnsconfd = "${sbindir}/avahi-dnsconfd \ | ||
| 26 | ${sysconfdir}/avahi/avahi-dnsconfd.action \ | ||
| 27 | ${sysconfdir}/init.d/avahi-dnsconfd" | ||
| 28 | FILES_libavahi-glib = "${libdir}/libavahi-glib.so.*" | ||
| 29 | |||
| 30 | CONFFILES_avahi-daemon = "${sysconfdir}/avahi/avahi-daemon.conf" | ||
| 31 | |||
| 32 | EXTRA_OECONF = "--with-distro=debian --disable-gtk --disable-python" | ||
| 33 | inherit autotools | ||
| 34 | inherit update-rc.d | ||
| 35 | |||
| 36 | INITSCRIPT_PACKAGES = "avahi-daemon avahi-dnsconfd" | ||
| 37 | INITSCRIPT_NAME_avahi-daemon = "avahi-daemon" | ||
| 38 | INITSCRIPT_NAME_avahi-dnsconfd = "avahi-dnsconfd" | ||
| 39 | |||
| 40 | pkg_postinst_avahi-daemon () { | ||
| 41 | grep avahi /etc/passwd || adduser --disabled-password --system --home /var/run/avahi-daemon avahi | ||
| 42 | } | ||
| 43 | |||
| 44 | pkg_postrm_avahi-daemon () { | ||
| 45 | deluser avahi || true | ||
| 46 | } | ||
| 47 | |||
