summaryrefslogtreecommitdiff
path: root/packages/keylaunch/keylaunch-conf_2.0.10.bb
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-11-25 22:43:28 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-11-25 22:43:28 +0000
commit5b56ea8960f47f11fd7923abeb938fc57c84942e (patch)
tree649b5f07a6a2116be2b82e57734e95a848927d06 /packages/keylaunch/keylaunch-conf_2.0.10.bb
parent6455c691e7d17a65938ac633c63c170aae9c9da2 (diff)
keylaunch 2.0.10: Separate a keylaunch, a generic X key binding utility,
from random crap aka device-specific (mis)configs and hacks.
Diffstat (limited to 'packages/keylaunch/keylaunch-conf_2.0.10.bb')
-rw-r--r--packages/keylaunch/keylaunch-conf_2.0.10.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/keylaunch/keylaunch-conf_2.0.10.bb b/packages/keylaunch/keylaunch-conf_2.0.10.bb
new file mode 100644
index 0000000000..f9748d29f7
--- /dev/null
+++ b/packages/keylaunch/keylaunch-conf_2.0.10.bb
@@ -0,0 +1,27 @@
+RDEPENDS_append_spitz = " display-brightness"
+RDEPENDS_append_akita = " display-brightness"
+RDEPENDS_append_c7x0 = " display-brightness"
+
+SECTION = "gpe"
+LICENSE = "GPL"
+DESCRIPTION = "Device-specific keylaunch configuration"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+PR = "r1"
+
+SRC_URI = " file://keylaunchrc"
+SRC_URI += " file://80chvt-SUID"
+
+do_install () {
+ install -d ${D}${sysconfdir}
+ install -d ${D}${sysconfdir}/X11/Xinit.d
+ install ${WORKDIR}/keylaunchrc ${D}${sysconfdir}/keylaunchrc.matchbox
+ install ${WORKDIR}/80chvt-SUID ${D}${sysconfdir}/X11/Xinit.d
+}
+
+pkg_postinst_${PN}() {
+ update-alternatives --install /etc/keylaunchrc keylaunchrc /etc/keylaunchrc.matchbox 10
+}
+
+pkg_postrm_${PN}() {
+ update-alternatives --remove keylaunchrc /etc/keylaunchrc.matchbox
+}