2015-03-24 22:40:28 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# lirc-tools
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-06-19 15:26:36 +02:00
|
|
|
LIRC_TOOLS_VERSION = 0.9.4
|
2015-03-24 22:40:28 +01:00
|
|
|
LIRC_TOOLS_SOURCE = lirc-$(LIRC_TOOLS_VERSION).tar.bz2
|
2015-09-28 18:10:31 +02:00
|
|
|
LIRC_TOOLS_SITE = http://downloads.sourceforge.net/project/lirc/LIRC/$(LIRC_TOOLS_VERSION)
|
2015-03-24 22:40:28 +01:00
|
|
|
LIRC_TOOLS_LICENSE = GPLv2+
|
|
|
|
LIRC_TOOLS_LICENSE_FILES = COPYING
|
2016-03-19 13:44:45 +01:00
|
|
|
LIRC_TOOLS_DEPENDENCIES = host-libxslt host-pkgconf host-python3
|
2016-02-29 06:46:06 +01:00
|
|
|
LIRC_TOOLS_INSTALL_STAGING = YES
|
2016-05-25 16:00:00 +02:00
|
|
|
# 0001-lib-use-proper-linking-method-to-avoid-parallel-buil.patch
|
2016-06-19 15:26:36 +02:00
|
|
|
# 0003-Don-t-build-commandir-unless-we-have-usb.h-191.patch
|
2016-08-19 15:50:29 +02:00
|
|
|
# 0004-configure-check-for-clock_gettime-in-librt.patch
|
2016-05-25 16:00:00 +02:00
|
|
|
LIRC_TOOLS_AUTORECONF = YES
|
2015-03-24 22:40:28 +01:00
|
|
|
|
2016-03-19 09:28:27 +01:00
|
|
|
LIRC_TOOLS_CONF_ENV = XSLTPROC=yes
|
2015-10-28 21:56:47 +01:00
|
|
|
LIRC_TOOLS_CONF_OPTS = --without-x
|
2015-03-24 22:40:28 +01:00
|
|
|
|
2016-06-19 15:26:38 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
|
|
|
LIRC_TOOLS_DEPENDENCIES += udev
|
|
|
|
endif
|
|
|
|
|
2016-06-19 15:26:39 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
|
|
|
LIRC_TOOLS_DEPENDENCIES += alsa-lib
|
|
|
|
endif
|
|
|
|
|
2016-06-19 15:26:37 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y)
|
|
|
|
LIRC_TOOLS_DEPENDENCIES += libusb-compat
|
|
|
|
endif
|
|
|
|
|
2016-06-19 15:26:40 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_PORTAUDIO),y)
|
|
|
|
LIRC_TOOLS_DEPENDENCIES += portaudio
|
|
|
|
endif
|
|
|
|
|
2015-03-24 22:40:28 +01:00
|
|
|
define LIRC_TOOLS_INSTALL_INIT_SYSV
|
|
|
|
$(INSTALL) -D -m 0755 package/lirc-tools/S25lircd \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S25lircd
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|