board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / pcsc-lite / pcsc-lite.mk
blobe53c004e8b61d4c19421bcb71fb19e9a44b7af55
1 ################################################################################
3 # pcsc-lite
5 ################################################################################
7 PCSC_LITE_VERSION = 1.8.10
8 PCSC_LITE_SOURCE = pcsc-lite-$(PCSC_LITE_VERSION).tar.bz2
9 PCSC_LITE_SITE = http://alioth.debian.org/frs/download.php/file/3963
10 PCSC_LITE_INSTALL_STAGING = YES
11 PCSC_LITE_DEPENDENCIES = host-pkgconf
12 PCSC_LITE_LICENSE = BSD-3c
13 PCSC_LITE_LICENSE_FILES = COPYING
14 PCSC_LITE_AUTORECONF = YES
16 # - libudev and libusb are optional
17 # - libudev and libusb can't be used together
18 # - libudev has a priority over libusb
20 ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
21 PCSC_LITE_CONF_OPTS += --enable-libudev --disable-libusb
22 PCSC_LITE_DEPENDENCIES += udev
23 else
24 ifeq ($(BR2_PACKAGE_LIBUSB),y)
25 PCSC_LITE_CONF_OPTS += --enable-libusb --disable-libudev
26 PCSC_LITE_DEPENDENCIES += libusb
27 else
28 PCSC_LITE_CONF_OPTS += --disable-libusb --disable-libudev
29 endif
30 endif
32 ifeq ($(PACKAGE_PCSC_LITE_DEBUGATR),y)
33 PCSC_LITE_CONF_OPTS += --enable-debugatr
34 endif
36 ifeq ($(PACKAGE_PCSC_LITE_EMBEDDED),y)
37 PCSC_LITE_CONF_OPTS += --enable-embedded
38 endif
40 $(eval $(autotools-package))