DESCRIPTION = "gnome system tools backends" LICENSE = "GPL" PR = "r2" DEPENDS = "dbus dbus-glib glib-2.0 policykit" # Shadow added so there is a full adduser/deluser # (Gnome images tend to pull in shadow anyway) RDEPENDS = "shadow" inherit gnome pkgconfig update-rc.d SRC_URI += " \ file://system-tools-backends \ " SRC_URI_append_angstrom = " \ file://add-angstrom-distro.patch \ " EXTRA_OECONF = " --with-net-dbus=${libdir}/perl5 " do_configure() { sed -i -e 's:CC=$(CC):CC="$(CC)":g' ${S}/Net-DBus/Makefile.am sed -i -e 's:CC=$(CC):CC="$(CC)":g' ${S}/Net-DBus/Makefile.in gnu-configize oe_runconf } do_install_append () { install -d ${D}/${sysconfdir}/init.d install -m 0755 ${WORKDIR}/system-tools-backends ${D}/${sysconfdir}/init.d/ } INITSCRIPT_NAME = "system-tools-backends" INITSCRIPT_PARAMS = "start 50 2 3 4 5 . stop 70 1 ." FILES_${PN} += " ${sysconfdir}/dbus-1/system.d" FILES_${PN} += " ${libdir}/pkgconfig" FILES_${PN} += " ${datadir}/dbus-1/system-services" FILES_${PN} += " ${datadir}/system-tools-backends-2.0/files" FILES_${PN} += " ${datadir}/system-tools-backends-2.0/scripts" FILES_${PN} += " ${datadir}/polkit*" SRC_URI[archive.md5sum] = "403bf4b7c82455d995d6aa54613246c2" SRC_URI[archive.sha256sum] = "67629bb6502a4c5b8b639867deb40ecabd5676a4655c264c1f0dbeb97de5c98c"