diff options
| author | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
| commit | b2f192faabe412adce79534e22efe9fb69ee40e2 (patch) | |
| tree | 7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/avahi | |
| parent | 2cf0eadf9f730027833af802d7e6c90b44248f80 (diff) | |
| download | poky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz | |
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/avahi')
| -rw-r--r-- | meta/packages/avahi/avahi_0.6.10.bb | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/meta/packages/avahi/avahi_0.6.10.bb b/meta/packages/avahi/avahi_0.6.10.bb new file mode 100644 index 0000000000..2b12d91c8d --- /dev/null +++ b/meta/packages/avahi/avahi_0.6.10.bb | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | DESCRIPTION = "Avahi implements the DNS-SD over Multicast DNS" | ||
| 2 | SECTION = "network" | ||
| 3 | PRIORITY = "optional" | ||
| 4 | AUTHOR = "Lennart Poettering <lennart@poettering.net>" | ||
| 5 | HOMEPAGE = "http://avahi.org" | ||
| 6 | MAINTAINER = "Philipp Zabel <philipp.zabel@gmail.com>" | ||
| 7 | LICENSE= "GPL" | ||
| 8 | |||
| 9 | DEPENDS = "expat libdaemon dbus" | ||
| 10 | RRECOMMENDS = "libnss-mdns" | ||
| 11 | |||
| 12 | SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz" | ||
| 13 | |||
| 14 | PACKAGES = "avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dnsconfd libavahi-glib avahi-dev avahi-doc avahi-utils" | ||
| 15 | |||
| 16 | FILES_libavahi-common = "${libdir}/libavahi-common.so.*" | ||
| 17 | FILES_libavahi-core= "${libdir}/libavahi-core.so.*" | ||
| 18 | FILES_avahi-daemon = "${sbindir}/avahi-daemon \ | ||
| 19 | ${sysconfdir}/avahi/avahi-daemon.conf \ | ||
| 20 | ${sysconfdir}/avahi/hosts \ | ||
| 21 | ${sysconfdir}/avahi/services \ | ||
| 22 | ${sysconfdir}/dbus-1 \ | ||
| 23 | ${sysconfdir}/init.d/avahi-daemon \ | ||
| 24 | ${datadir}/avahi/introspection/*.introspect \ | ||
| 25 | ${datadir}/avahi/avahi-service.dtd \ | ||
| 26 | ${datadir}/avahi/service-types" | ||
| 27 | FILES_libavahi-client = "${libdir}/libavahi-client.so.*" | ||
| 28 | FILES_avahi-dnsconfd = "${sbindir}/avahi-dnsconfd \ | ||
| 29 | ${sysconfdir}/avahi/avahi-dnsconfd.action \ | ||
| 30 | ${sysconfdir}/init.d/avahi-dnsconfd" | ||
| 31 | FILES_libavahi-glib = "${libdir}/libavahi-glib.so.*" | ||
| 32 | FILES_avahi-utils = "${bindir}/avahi-*" | ||
| 33 | |||
| 34 | CONFFILES_avahi-daemon = "${sysconfdir}/avahi/avahi-daemon.conf" | ||
| 35 | |||
| 36 | EXTRA_OECONF = "--with-distro=debian --disable-gdbm --disable-gtk --disable-mono --disable-monodoc --disable-qt3 --disable-qt4 --disable-python" | ||
| 37 | inherit autotools pkgconfig update-rc.d | ||
| 38 | |||
| 39 | INITSCRIPT_PACKAGES = "avahi-daemon avahi-dnsconfd" | ||
| 40 | INITSCRIPT_NAME_avahi-daemon = "avahi-daemon" | ||
| 41 | INITSCRIPT_PARAMS_avahi-daemon = "defaults 21 19" | ||
| 42 | INITSCRIPT_NAME_avahi-dnsconfd = "avahi-dnsconfd" | ||
| 43 | INITSCRIPT_PARAMS_avahi-dnsconfd = "defaults 22 19" | ||
| 44 | |||
| 45 | pkg_postinst_avahi-daemon () { | ||
| 46 | if [ "x$D" != "x" ]; then | ||
| 47 | exit 1 | ||
| 48 | fi | ||
| 49 | |||
| 50 | grep avahi /etc/group || addgroup avahi | ||
| 51 | grep avahi /etc/passwd || adduser --disabled-password --system --home /var/run/avahi-daemon --no-create-home avahi --ingroup avahi -g Avahi | ||
| 52 | /etc/init.d/dbus-1 force-reload | ||
| 53 | } | ||
| 54 | |||
| 55 | pkg_postrm_avahi-daemon () { | ||
| 56 | deluser avahi || true | ||
| 57 | delgroup avahi || true | ||
| 58 | } | ||
