system-tools-backends: add 2.8.1
authorSteve Sakoman <steve@sakoman.com>
Thu, 3 Sep 2009 04:56:59 +0000 (21:56 -0700)
committerKoen Kooi <koen@openembedded.org>
Thu, 3 Sep 2009 08:29:52 +0000 (10:29 +0200)
conf/checksums.ini
recipes/gnome/system-tools-backends_2.8.1.bb [new file with mode: 0644]

index 1a59d4d..0ba2bfc 100644 (file)
@@ -23614,6 +23614,10 @@ sha256=fdd50cb114151c66b8180c0ce90ba0e99f77a69770ac21598a87be935eec2224
 md5=c82a9d305c3a1bf924bba6b1bced3e86
 sha256=7f56dd08cf5425218b697d5db82e6ce03aff4f7b57f58d3053f0a7af632b3747
 
+[http://ftp.gnome.org/pub/GNOME/sources/system-tools-backends/2.8/system-tools-backends-2.8.1.tar.bz2]
+md5=2aecff382af4d8ba7fcd69298cc79413
+sha256=c1f5746d22ef439ee47c9b012273ccbefbb2621075f05876bdb6ad5cfe4e1bbe
+
 [ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/sysvinit-2.86.tar.gz]
 md5=7d5d61c026122ab791ac04c8a84db967
 sha256=035f98fae17d9cff002993c564ccc83dc4ed136127172caeff872b6abdb679d8
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 (file)
index 0000000..0808618
--- /dev/null
@@ -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"
+