1 ################################################################################
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
24 ifeq ($(BR2_PACKAGE_LIBUSB
),y
)
25 PCSC_LITE_CONF_OPTS
+= --enable-libusb
--disable-libudev
26 PCSC_LITE_DEPENDENCIES
+= libusb
28 PCSC_LITE_CONF_OPTS
+= --disable-libusb
--disable-libudev
32 ifeq ($(PACKAGE_PCSC_LITE_DEBUGATR
),y
)
33 PCSC_LITE_CONF_OPTS
+= --enable-debugatr
36 ifeq ($(PACKAGE_PCSC_LITE_EMBEDDED
),y
)
37 PCSC_LITE_CONF_OPTS
+= --enable-embedded
40 $(eval
$(autotools-package
))