2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-10-07 21:05:12 +02:00
|
|
|
#
|
2013-06-06 01:53:28 +02:00
|
|
|
# pcsc-lite
|
2012-10-07 21:05:12 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-01-30 01:25:46 +01:00
|
|
|
|
2013-12-14 08:21:29 +01:00
|
|
|
PCSC_LITE_VERSION = 1.8.10
|
2012-10-07 21:05:12 +02:00
|
|
|
PCSC_LITE_SOURCE = pcsc-lite-$(PCSC_LITE_VERSION).tar.bz2
|
2013-12-14 08:21:29 +01:00
|
|
|
PCSC_LITE_SITE = http://alioth.debian.org/frs/download.php/file/3963
|
2012-10-07 21:05:12 +02:00
|
|
|
PCSC_LITE_INSTALL_STAGING = YES
|
2012-10-22 17:47:52 +02:00
|
|
|
PCSC_LITE_DEPENDENCIES = host-pkgconf
|
2013-01-30 01:25:46 +01:00
|
|
|
PCSC_LITE_LICENSE = BSD-3c
|
|
|
|
PCSC_LITE_LICENSE_FILES = COPYING
|
2012-10-07 21:05:12 +02:00
|
|
|
|
|
|
|
# - libudev and libusb are optional
|
|
|
|
# - libudev and libusb can't be used together
|
|
|
|
# - libudev has a priority over libusb
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_UDEV),y)
|
|
|
|
PCSC_LITE_CONF_OPT += --enable-libudev --disable-libusb
|
|
|
|
PCSC_LITE_DEPENDENCIES += udev
|
|
|
|
else
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBUSB),y)
|
|
|
|
PCSC_LITE_CONF_OPT += --enable-libusb --disable-libudev
|
|
|
|
PCSC_LITE_DEPENDENCIES += libusb
|
|
|
|
else
|
|
|
|
PCSC_LITE_CONF_OPT += --disable-libusb --disable-libudev
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(PACKAGE_PCSC_LITE_DEBUGATR),y)
|
|
|
|
PCSC_LITE_CONF_OPT += --enable-debugatr
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(PACKAGE_PCSC_LITE_EMBEDDED),y)
|
|
|
|
PCSC_LITE_CONF_OPT += --enable-embedded
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|