blob: 5f9a0cd22a3c678370696a1d251fb66d35d10b33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
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"
SRC_URI[archive.md5sum] = "2aecff382af4d8ba7fcd69298cc79413"
SRC_URI[archive.sha256sum] = "c1f5746d22ef439ee47c9b012273ccbefbb2621075f05876bdb6ad5cfe4e1bbe"
|