source "package/iucode-tool/Config.in"
source "package/kbd/Config.in"
source "package/lcdproc/Config.in"
+ source "package/lirc-tools/Config.in"
source "package/lm-sensors/Config.in"
source "package/lshw/Config.in"
source "package/lsuio/Config.in"
--- /dev/null
+config BR2_PACKAGE_LIRC_TOOLS
+ bool "lirc-tools"
+ depends on BR2_USE_MMU # fork()
+ help
+ LIRC is a package that supports receiving and sending IR
+ signals of the most common IR remote controls. It contains a
+ daemon that decodes and sends IR signals, a mouse daemon
+ that translates IR signals to mouse movements and a couple
+ of user programs that allow to control your computer with a
+ remote control.
+
+ It requires the kernel LIRC interface driver, make sure to
+ enable the kernel drivers to support your hardware.
+
+ http://www.lirc.org/
--- /dev/null
+#!/bin/sh
+#
+# Start lirc
+#
+# Support for remotes - Add remotes to /etc/lirc/lircd.conf.d/
+#
+
+start() {
+ echo -n "Starting lirc: "
+ mkdir -p /var/run/lirc
+ ln -sf /var/run/lirc/lircd /dev/lircd
+ start-stop-daemon -b -S -q -m -p /var/run/lirc.pid --exec /usr/sbin/lircd -- -n -O /etc/lirc/lirc_options.conf
+ echo "OK"
+}
+
+stop() {
+ echo -n "Stopping lirc: "
+ start-stop-daemon -K -q -p /var/run/lirc.pid
+ echo "OK"
+}
+
+case "$1" in
+ start)
+ start
+ ;;
+ stop)
+ stop
+ ;;
+ restart|reload)
+ stop
+ start
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart}"
+ exit 1
+esac
+
+exit $?
--- /dev/null
+#hash from http://sourceforge.net/projects/lirc/files/LIRC/0.9.2/
+sha1 585daed1eaa169b9683a507e26b1331a947a4dcd lirc-0.9.2.tar.bz2
--- /dev/null
+################################################################################
+#
+# lirc-tools
+#
+################################################################################
+
+LIRC_TOOLS_VERSION = 0.9.2
+LIRC_TOOLS_SOURCE = lirc-$(LIRC_TOOLS_VERSION).tar.bz2
+LIRC_TOOLS_SITE = http://downloads.sourceforge.net/project/lirc/LIRC/$(LIRC_TOOLS_VERSION)/
+LIRC_TOOLS_LICENSE = GPLv2+
+LIRC_TOOLS_LICENSE_FILES = COPYING
+
+LIRC_TOOLS_CONF_OPTS = \
+ --without-x \
+ --enable-sandboxed \
+ --with-driver=userspace
+
+define LIRC_TOOLS_INSTALL_INIT_SYSV
+ $(INSTALL) -D -m 0755 package/lirc-tools/S25lircd \
+ $(TARGET_DIR)/etc/init.d/S25lircd
+endef
+
+$(eval $(autotools-package))