aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qtopia/irk/irk.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qtopia/irk/irk.inc')
-rw-r--r--recipes-qtopia/irk/irk.inc24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-qtopia/irk/irk.inc b/recipes-qtopia/irk/irk.inc
new file mode 100644
index 0000000..b00583c
--- /dev/null
+++ b/recipes-qtopia/irk/irk.inc
@@ -0,0 +1,24 @@
+DESCRIPTION = "IRK provides a Qtopia/Opie Input Method plugin that allows you to use external infrared keyboards with the Zaurus."
+SECTION = "opie/inputmethods"
+PRIORITY = "optional"
+LICENSE = "GPL"
+HOMEPAGE = "http://angela1.data-uncertain.co.uk/~zaurus/irk.php"
+DEPENDS = "lirc"
+
+S = "${WORKDIR}/irk"
+
+inherit palmtop
+
+EXTRA_QMAKEVARS_POST += "CONFIG-=qtopia INCLUDEPATH+=${STAGING_INCDIR}/lirc"
+
+do_install() {
+ install -d ${D}${sysconfdir}/
+ install -d ${D}${palmtopdir}/etc/skel/
+ install -d ${D}${palmtopdir}/plugins/inputmethods/
+
+ install -m 0644 chicony.conf ${D}${sysconfdir}/lircd.conf
+ install -m 0644 IRK.conf ${D}${palmtopdir}/etc/skel/
+ oe_libinstall -so libirk ${D}${palmtopdir}/plugins/inputmethods
+}
+
+FILES_${PN} += "${sysconfdir}"