1 DESCRIPTION
= "LIRC is a package that allows you to decode and send infra-red signals of many commonly used remote controls."
2 DESCRIPTION_append_lirc
= " This package contains the lirc daemon, libraries and tools."
3 DESCRIPTION_append_lirc
-x
= " This package contains lirc tools for X11."
4 DESCRIPTION_append_lirc
-exec
= " This package contains a daemon that runs programs on IR signals."
5 DESCRIPTION_append_lirc
-remotes
= " This package contains some config files for remotes."
6 DESCRIPTION_append_lirc
-nslu2example
= " This package contains a working config for RC5 remotes and a modified NSLU2."
7 SECTION
= "console/network"
9 HOMEPAGE
= "http://www.lirc.org"
11 DEPENDS
= "virtual/kernel virtual/libx11 libxau libsm libice"
12 DEPENDS_nslu2
= "virtual/kernel lirc-modules"
13 RDEPENDS
= "lirc-modules"
14 RDEPENDS_lirc
-x
= "lirc"
15 RDEPENDS_lirc
-exec
= "lirc"
16 RDEPENDS_lirc
-nslu2example
= "lirc lirc-exec"
17 RRECOMMENDS_lirc
= "lirc-exec"
20 SRC_URI
= "${SOURCEFORGE_MIRROR}/lirc/lirc-${PV}.tar.gz \
21 file://lircd.init file://lircmd.init file://lircexec.init"
22 SRC_URI_append_nslu2
= " file://lircd.conf_nslu2 file://lircrc_nslu2"
24 S
= "${WORKDIR}/lirc-${PV}"
26 inherit autotools module
-base update
-rc.d
28 INITSCRIPT_PACKAGES
= "lirc lirc-exec"
29 INITSCRIPT_NAME
= "lircd"
30 INITSCRIPT_PARAMS
= "defaults 20"
31 INITSCRIPT_NAME_lirc
-exec
= "lircexec"
32 INITSCRIPT_PARAMS_lirc
-exec
= "defaults 21"
34 require lirc
-config.inc
36 EXTRA_OEMAKE
= 'SUBDIRS
="daemons tools"'
39 install
-d $
{D
}$
{sysconfdir
}/init.d
40 install $
{WORKDIR
}/lircd.init $
{D
}$
{sysconfdir
}/init.d
/lircd
41 install $
{WORKDIR
}/lircexec.init $
{D
}$
{sysconfdir
}/init.d
/lircexec
42 install
-d $
{D
}$
{datadir
}/lirc
/
43 cp
-pPR $
{S
}/remotes $
{D
}$
{datadir
}/lirc
/
47 do_install_append_nslu2
() {
48 install
-d $
{D
}$
{sysconfdir
}
49 install $
{WORKDIR
}/lircd.conf_nslu2 $
{D
}$
{sysconfdir
}/lircd.conf
50 install $
{WORKDIR
}/lircrc_nslu2 $
{D
}$
{sysconfdir
}/lircrc
53 PACKAGES
=+ "lirc-x lirc-exec lirc-remotes"
54 PACKAGES_prepend_nslu2
= "lirc-nslu2example "
56 FILES_$
{PN
}-dbg
+= "${bindir}/.debug ${sbindir}/.debug"
57 FILES_$
{PN
} = "${bindir} ${sbindir} ${libdir} ${sysconfdir}/init.d"
58 FILES_lirc
-x
= "${bindir}/irxevent ${bindir}/xmode2"
59 FILES_lirc
-exec
= "${bindir}/irexec ${sysconfdir}/init.d/lircexec"
60 FILES_lirc
-remotes
= "${datadir}/lirc/remotes"
61 FILES_lirc
-nslu2example
= "${sysconfdir}/lircd.conf ${sysconfdir}/lircrc"
62 CONFFILES_lirc
-nslu2example
= "${FILES_lirc-nslu2example}"
64 SRC_URI
[md5sum
] = "a9e44df2adbd71be586e0df6304605cc"
65 SRC_URI
[sha256sum
] = "ab5752e9af2df5f4cd2bd6d4f13872fbb519d7fa1bd3f187cc14dcb163440234"