summaryrefslogtreecommitdiff
path: root/recipes/palmt650/palmt650-keyboard-modmap.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/palmt650/palmt650-keyboard-modmap.bb')
-rw-r--r--recipes/palmt650/palmt650-keyboard-modmap.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/palmt650/palmt650-keyboard-modmap.bb b/recipes/palmt650/palmt650-keyboard-modmap.bb
new file mode 100644
index 0000000000..c005136761
--- /dev/null
+++ b/recipes/palmt650/palmt650-keyboard-modmap.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "A X keyboard modifier mapping for the Treo650"
+LICENSE = "GPL"
+PV = "0.0.3"
+PR = "r0.02"
+
+SRC_URI = "\
+ file://60xXmodmap \
+ file://Xmodmap \
+"
+
+S = "${WORKDIR}"
+
+do_install() {
+ install -d ${D}/etc/X11/
+ install ${WORKDIR}/Xmodmap ${D}/etc/X11/Xmodmap
+ install -d ${D}/etc/X11/Xsession.d
+ install ${WORKDIR}/60xXmodmap ${D}/etc/X11/Xsession.d/60xXmodmap
+}
+
+PACKAGE_ARCH = "all"
+
+FILES_${PN} += "/etc/X11/Xmodmap"
+FILES_${PN} += "/etc/X11/Xsession.d/60xXmodmap"