mesa-7.9: bump PR after talloc changes
[openembedded.git] / recipes / keylaunch / keylaunch-conf_2.0.10.bb
blobaeb9c862ca157b1a83978a27ce77a26acee63120
1 RDEPENDS_append_spitz = " display-brightness"
2 RDEPENDS_append_akita = " display-brightness"
3 RDEPENDS_append_c7x0 = " display-brightness"
5 SECTION = "gpe"
6 LICENSE = "GPL"
7 DESCRIPTION = "Device-specific keylaunch configuration"
8 PACKAGE_ARCH = "${MACHINE_ARCH}"
9 PR = "r2"
11 SRC_URI = " file://keylaunchrc"
12 SRC_URI += " file://80chvt-SUID"
14 do_install () {
15 install -d ${D}${sysconfdir}
16 install -d ${D}${sysconfdir}/X11/Xinit.d
17 install -m 0644 ${WORKDIR}/keylaunchrc ${D}${sysconfdir}/keylaunchrc.matchbox
18 install ${WORKDIR}/80chvt-SUID ${D}${sysconfdir}/X11/Xinit.d
21 pkg_postinst_${PN}() {
22 update-alternatives --install /etc/keylaunchrc keylaunchrc /etc/keylaunchrc.matchbox 10
25 pkg_postrm_${PN}() {
26 update-alternatives --remove keylaunchrc /etc/keylaunchrc.matchbox