aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/hotplug-qcop/hotplug-qcop_cvs.bb
blob: 55a91b2651d97aad5005945fbaa98e9cff789060 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "HotPlug -> QCOP Event Bridge"
SECTION = "opie/base"
RDEPENDS_${PN} = "opie-qcop hotplug"
LICENSE = "GPL"
PR = "r0"

SRC_URI = "${HANDHELDS_CVS};module=opie/core/tools/hotplug-qcop"
S = "${WORKDIR}/hotplug-qcop"

inherit opie

sbindir="/sbin"

do_install() {
	install -d ${D}${sbindir}
	install -m 0755 hotplug-qcop ${D}${sbindir}

	install -d ${D}${sysconfdir}/hotplug.d/default/
	ln -sf /sbin/hotplug-qcop ${D}${sysconfdir}/hotplug.d/default/11-qcop.hotplug
}

FILES_${PN} = "${sysconfdir} ${sbindir}"