summaryrefslogtreecommitdiff
path: root/packages/irk/irk-belkin_0.11.bb
blob: a8d6056914962db0e58aef5c3da200f1aefa4ebe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
DESCRIPTION = "IRK provides a Qtopia/Opie Input Method plugin that allows you to use external infrared keyboards with the Zaurus. (version with Belkin support instead of Targus)"
SECTION = "opie/inputmethods"
PRIORITY = "optional"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
DEPENDS = "virtual/libqpe lirc"
RDEPENDS = "lirc"
RPROVIDES = "irk"
RCONFLICTS = "irk"
RREPLACES = "irk"
PR = "r1"

SRC_URI = "http://kopsisengineering.com/irk-current.tgz \
           file://install-default-conf.patch;patch=1"
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}"