94a05f9668
Fixes: http://autobuild.buildroot.net/results/14400ae2c9e312729efa9a9026b5fdd487868c8a/ Also add license information while at it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
##########################################################
|
|
#
|
|
# PCSC-Lite
|
|
#
|
|
#########################################################
|
|
|
|
PCSC_LITE_VERSION = 1.8.6
|
|
PCSC_LITE_SOURCE = pcsc-lite-$(PCSC_LITE_VERSION).tar.bz2
|
|
PCSC_LITE_SITE = http://alioth.debian.org/frs/download.php/3757
|
|
PCSC_LITE_INSTALL_STAGING = YES
|
|
PCSC_LITE_DEPENDENCIES = host-pkgconf
|
|
PCSC_LITE_LICENSE = BSD-3c
|
|
PCSC_LITE_LICENSE_FILES = COPYING
|
|
|
|
# - 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))
|