899c6f6865061a26cb38c5e5c42b717f4ee9a822
[vuplus_openembedded] / lirc / lirc-modules_0.6.6+cvs20040918.oe
1 DESCRIPTION = "LIRC is a package that allows you to decode and send infra-red signals of many commonly used remote controls."
2 SECTION = "base"
3 PRIORITY = "optional"
4 MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
5 LICENSE = "GPL"
6 RDEPENDS = "kernel"
7 DEPENDS = "virtual/kernel"
8 PR = "r2"
9
10 S = "${WORKDIR}/lirc"
11 SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/lirc;module=lirc;date=20040918;method=pserver \
12 file://lirc_sir-sa1100.patch;patch=1"
13
14 inherit autotools module-base
15
16 EXTRA_OECONF = "--with-kerneldir=${STAGING_KERNEL_DIR}"
17 EXTRA_OECONF_append_epia = " --with-driver=serial"
18 EXTRA_OECONF_append_collie = " --with-driver=sa1100 --without-x"
19 EXTRA_OECONF_append_h3600 = " --with-driver=sa1100 --without-x"
20 EXTRA_OECONF_append_beagle = " --with-driver=sa1100 --without-x"
21 EXTRA_OECONF_append_simpad = " --with-driver=sa1100 --without-x"
22
23 export TOPDIR = "${STAGING_KERNEL_DIR}"
24
25 do_compile() {
26         cd drivers && oe_runmake CC="${KERNEL_CC}" LD="${KERNEL_LD}"
27 }
28
29 fakeroot do_install() {
30         oe_runmake -C drivers DESTDIR="${D}" moduledir="/lib/modules/${KERNEL_VERSION}/lirc" install
31         rm -rf ${D}/dev
32 }
33
34 FILES_${PN}="/lib/modules"