summaryrefslogtreecommitdiff
path: root/recipes/hotplug-qcop/hotplug-qcop_cvs.bb
blob: 5c0d23845328fcd5f686b6dbdcbc11f0d09f6daa (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 = "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}"