diff options
author | Steve Sakoman <steve@sakoman.com> | 2009-09-02 21:56:59 -0700 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-09-03 10:29:52 +0200 |
commit | b2d5c4000c431464bdb05a667bb54c93527a5574 (patch) | |
tree | f92c6cb04982fd8999fb7ab9b2d00d3846c1f223 /recipes/gnome | |
parent | 40db23e33eeb55462b12b717545e8d8a01a7bbf0 (diff) |
system-tools-backends: add 2.8.1
Diffstat (limited to 'recipes/gnome')
-rw-r--r-- | recipes/gnome/system-tools-backends_2.8.1.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes/gnome/system-tools-backends_2.8.1.bb b/recipes/gnome/system-tools-backends_2.8.1.bb new file mode 100644 index 0000000000..08086188be --- /dev/null +++ b/recipes/gnome/system-tools-backends_2.8.1.bb @@ -0,0 +1,36 @@ +DESCRIPTION = "gnome system tools backends" +LICENSE = "GPL" + +DEPENDS = "dbus dbus-glib glib-2.0 policykit" + +inherit gnome pkgconfig update-rc.d + +SRC_URI += " \ + file://angstrom.patch;patch=1 \ + file://system-tools-backends \ + " + +do_configure_prepend() { + sed -i -e /IT_PROG_INTLTOOL/d ${S}/configure.in + sed -i -e /Makefile.in/d ${S}/configure.in + sed -i -e 's: po : :g' ${S}/Makefile.am + sed -i -e /policy/d ${S}/Makefile.am + sed -i -e 's:org.freedesktop.SystemToolsBackends.service \\:org.freedesktop.SystemToolsBackends.service:g' ${S}/Makefile.am + sed -i -e 's:@INTLTOOL_POLICY_RULE@::g' ${S}/Makefile.am + sed -i -e 's:CC=$(CC):CC="$(CC)":g' ${S}/Net-DBus/Makefile.am +} + +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" + |