1 DESCRIPTION = "LIRC is a package that allows you to decode and send infra-red signals of many commonly used remote controls."
2 SECTION = "console/network"
4 MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
6 DEPENDS = "virtual/kernel"
9 SRC_URI = "${SOURCEFORGE_MIRROR}/lirc/lirc-${PV}.tar.gz \
10 file://split-hauppauge.patch;patch=1 \
11 file://lircd.init file://lircmd.init"
12 S = "${WORKDIR}/lirc-${PV}"
14 inherit autotools module-base update-rc.d
16 INITSCRIPT_NAME = "lirc"
17 INITSCRIPT_PARAMS = "defaults 20"
19 EXTRA_OECONF_epia = "--with-kerneldir=${STAGING_KERNEL_DIR} --with-driver=serial"
20 EXTRA_OECONF_collie = "--with-kerneldir=${STAGING_KERNEL_DIR} --with-driver=sa1100 --without-x"
21 EXTRA_OECONF_h3600 = "--with-kerneldir=${STAGING_KERNEL_DIR} --with-driver=sa1100 --without-x"
22 EXTRA_OECONF_beagle = "--with-kerneldir=${STAGING_KERNEL_DIR} --with-driver=sa1100 --without-x"
23 EXTRA_OECONF_simpad = "--with-kerneldir=${STAGING_KERNEL_DIR} --with-driver=sa1100 --without-x"
25 EXTRA_OEMAKE = 'SUBDIRS="daemons tools"'
28 oe_libinstall -so -C tools liblirc_client ${STAGING_LIBDIR}
29 install -d ${STAGING_INCDIR}/lirc/
30 install -m 0644 tools/lirc_client.h ${STAGING_INCDIR}/lirc/
34 install -d ${D}/etc/init.d
35 install ${WORKDIR}/lircd.init ${D}/etc/init.d/lircd
37 install -d ${D}${datadir}/lirc/
38 cp -a ${S}/remotes ${D}${datadir}/lirc/