diff options
Diffstat (limited to 'meta/packages/irda-utils/irda-utils_0.9.16.bb')
| -rw-r--r-- | meta/packages/irda-utils/irda-utils_0.9.16.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/packages/irda-utils/irda-utils_0.9.16.bb b/meta/packages/irda-utils/irda-utils_0.9.16.bb new file mode 100644 index 0000000000..db56a7044d --- /dev/null +++ b/meta/packages/irda-utils/irda-utils_0.9.16.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 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 = "r5" | ||
| 7 | |||
| 8 | SRC_URI = "${SOURCEFORGE_MIRROR}/irda/irda-utils-${PV}.tar.gz \ | ||
| 9 | file://configure.patch;patch=1 \ | ||
| 10 | file://m4.patch;patch=1 \ | ||
| 11 | file://init" | ||
| 12 | |||
| 13 | export SYS_INCLUDES="-I${STAGING_INCDIR}" | ||
| 14 | |||
| 15 | inherit autotools update-rc.d | ||
| 16 | |||
| 17 | INITSCRIPT_NAME = "irattach" | ||
| 18 | INITSCRIPT_PARAMS = "defaults 20" | ||
| 19 | |||
| 20 | do_compile () { | ||
| 21 | oe_runmake -e -C irattach | ||
| 22 | oe_runmake -e -C irdaping | ||
| 23 | } | ||
| 24 | |||
| 25 | do_install () { | ||
| 26 | install -d ${D}${sbindir} | ||
| 27 | oe_runmake -C irattach ROOT="${D}" install | ||
| 28 | oe_runmake -C irdaping ROOT="${D}" install | ||
| 29 | |||
| 30 | install -d ${D}${sysconfdir}/init.d | ||
| 31 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/irattach | ||
| 32 | } | ||
