diff options
Diffstat (limited to 'meta/packages/irda-utils/irda-utils_0.9.18.bb')
-rw-r--r-- | meta/packages/irda-utils/irda-utils_0.9.18.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/packages/irda-utils/irda-utils_0.9.18.bb b/meta/packages/irda-utils/irda-utils_0.9.18.bb new file mode 100644 index 0000000000..25be0fe84d --- /dev/null +++ b/meta/packages/irda-utils/irda-utils_0.9.18.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | DESCRIPTION = "Provides common files needed to use IrDA. \ | ||
2 | IrDA allows communication over Infrared with other devices \ | ||
3 | such as phones and laptops." | ||
4 | SECTION = "base" | ||
5 | LICENSE = "GPL" | ||
6 | PR = "r0" | ||
7 | |||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/irda/irda-utils-${PV}.tar.gz \ | ||
9 | file://init" | ||
10 | |||
11 | export SYS_INCLUDES="-I${STAGING_INCDIR}" | ||
12 | |||
13 | inherit autotools | ||
14 | |||
15 | INITSCRIPT_NAME = "irattach" | ||
16 | INITSCRIPT_PARAMS = "defaults 20" | ||
17 | |||
18 | do_compile () { | ||
19 | oe_runmake -e -C irattach | ||
20 | oe_runmake -e -C irdaping | ||
21 | } | ||
22 | |||
23 | do_install () { | ||
24 | install -d ${D}${sbindir} | ||
25 | oe_runmake -C irattach ROOT="${D}" install | ||
26 | oe_runmake -C irdaping ROOT="${D}" install | ||
27 | |||
28 | install -d ${D}${sysconfdir}/init.d | ||
29 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} | ||
30 | } | ||