6a6cd7e4d3
Since commit b01f19fb9361 ("pcsc_demo: change licence from GPLv3 to BSD") in pcsclite, the license of pcsc_demo is BSD-3-Clause and not GPL-3.0-or-later, so let's update the package license information. Cc: Quentin Schulz <foss+buildroot@0leil.net> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
################################################################################
|
|
#
|
|
# pcsc-lite
|
|
#
|
|
################################################################################
|
|
|
|
PCSC_LITE_VERSION = 1.9.8
|
|
PCSC_LITE_SOURCE = pcsc-lite-$(PCSC_LITE_VERSION).tar.bz2
|
|
PCSC_LITE_SITE = https://pcsclite.apdu.fr/files
|
|
PCSC_LITE_INSTALL_STAGING = YES
|
|
PCSC_LITE_DEPENDENCIES = host-pkgconf host-flex
|
|
PCSC_LITE_LICENSE = BSD-2-Clause (auth), BSD-3-Clause, GPL-3.0+ (spy, tests), ISC (simclist)
|
|
PCSC_LITE_LICENSE_FILES = COPYING GPL-3.0.txt
|
|
PCSC_LITE_SELINUX_MODULES = pcscd
|
|
PCSC_LITE_CONF_OPTS = --disable-strict
|
|
|
|
# - libudev and libusb are optional
|
|
# - libudev and libusb can't be used together
|
|
# - libudev has a priority over libusb
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
|
PCSC_LITE_CONF_OPTS += --enable-libudev --disable-libusb
|
|
PCSC_LITE_DEPENDENCIES += udev
|
|
else
|
|
ifeq ($(BR2_PACKAGE_LIBUSB),y)
|
|
PCSC_LITE_CONF_OPTS += --enable-libusb --disable-libudev
|
|
PCSC_LITE_DEPENDENCIES += libusb
|
|
else
|
|
PCSC_LITE_CONF_OPTS += --disable-libusb --disable-libudev
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
|
PCSC_LITE_CONF_OPTS += --enable-libsystemd
|
|
PCSC_LITE_DEPENDENCIES += systemd
|
|
else
|
|
PCSC_LITE_CONF_OPTS += --disable-libsystemd
|
|
endif
|
|
|
|
ifeq ($(PACKAGE_PCSC_LITE_DEBUGATR),y)
|
|
PCSC_LITE_CONF_OPTS += --enable-debugatr
|
|
endif
|
|
|
|
ifeq ($(PACKAGE_PCSC_LITE_EMBEDDED),y)
|
|
PCSC_LITE_CONF_OPTS += --enable-embedded
|
|
endif
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
|
PCSC_LITE_CONF_ENV += LIBS=-latomic
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|