config BR2_PACKAGE_LIRC_TOOLS
	bool "lirc-tools"
	depends on BR2_USE_MMU # fork()
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_INSTALL_LIBSTDCPP
	depends on !BR2_TOOLCHAIN_USES_MUSL # GLOB_BRACE
	# dlopen()
	depends on !BR2_STATIC_LIBS
	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/

comment "lirc-tools needs a uClibc or (e)glibc toolchain w/ threads, dynamic library, C++"
	depends on BR2_USE_MMU
	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
		|| !BR2_INSTALL_LIBSTDCPP || BR2_TOOLCHAIN_USES_MUSL
