Merge oe-devel@oe-devel.bkbits.net:packages
[openembedded.git] / irk / irk_0.11.1.oe
1 DESCRIPTION = "IRK provides a Qtopia/Opie Input Method plugin that allows you to use external infrared keyboards with the Zaurus."
2 SECTION = "opie/inputmethods"
3 PRIORITY = "optional"
4 MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
5 LICENSE = "GPL"
6 DEPENDS = "virtual/libqpe lirc"
7 RDEPENDS = "lirc"
8 PR = "r1"
9
10 SRC_URI = "http://kopsisengineering.com/irk-current.tgz \
11            file://install-default-conf.patch;patch=1"
12 S = "${WORKDIR}/irk"
13
14 inherit palmtop
15
16 EXTRA_QMAKEVARS_POST = "CONFIG-=qtopia INCLUDEPATH+=${STAGING_INCDIR}/lirc"
17
18 do_install() {
19         install -d ${D}${sysconfdir}/
20         install -d ${D}${palmtopdir}/etc/skel/
21         install -d ${D}${palmtopdir}/plugins/inputmethods/
22
23         install -m 0644 chicony.conf ${D}/${sysconfdir}/lircd.conf
24         install -m 0644 IRK.conf ${D}/${palmtopdir}/etc/skel/
25         oe_libinstall -so libirk ${D}/${palmtopdir}/plugins/inputmethods
26 }
27
28 FILES_${PN} += "${sysconfdir}"