package/lirc-tools: add optional support for libusb-compat
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 19 Jun 2016 13:26:37 +0000 (15:26 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 26 Jun 2016 20:29:56 +0000 (22:29 +0200)
lirc-tools has optional support for libusb-compat, see configure.ac,
line 199+.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lirc-tools/lirc-tools.mk

index d7f23531ab3bc59411fa84e51a7cc40f7fe38494..2fd66439d7b57ee1b0335ec2979a2d13e087745e 100644 (file)
@@ -18,6 +18,10 @@ LIRC_TOOLS_AUTORECONF = YES
 LIRC_TOOLS_CONF_ENV = XSLTPROC=yes
 LIRC_TOOLS_CONF_OPTS = --without-x
 
+ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y)
+LIRC_TOOLS_DEPENDENCIES += libusb-compat
+endif
+
 define LIRC_TOOLS_INSTALL_INIT_SYSV
        $(INSTALL) -D -m 0755 package/lirc-tools/S25lircd \
                $(TARGET_DIR)/etc/init.d/S25lircd