This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

15
package/ccid/Config.in Normal file
View File

@@ -0,0 +1,15 @@
config BR2_PACKAGE_CCID
bool "ccid"
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
depends on BR2_USE_MMU # pcsc-lite
depends on !BR2_STATIC_LIBS # pcsc-lite
select BR2_PACKAGE_PCSC_LITE
select BR2_PACKAGE_LIBUSB
help
PC/SC driver for USB CCID smart card readers
https://ccid.apdu.fr/
comment "ccid needs a toolchain w/ threads, dynamic library"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS

3
package/ccid/ccid.hash Normal file
View File

@@ -0,0 +1,3 @@
# Locally computed
sha256 ac17087be08880a0cdf99a8a2799a4ef004dc6ffa08b4d9b0ad995f39a53ff7c ccid-1.4.30.tar.bz2
sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING

26
package/ccid/ccid.mk Normal file
View File

@@ -0,0 +1,26 @@
################################################################################
#
# ccid
#
################################################################################
CCID_VERSION = 1.4.30
CCID_SOURCE = ccid-$(CCID_VERSION).tar.bz2
CCID_SITE = https://ccid.apdu.fr/files
CCID_LICENSE = LGPL-2.1+
CCID_LICENSE_FILES = COPYING
CCID_INSTALL_STAGING = YES
CCID_DEPENDENCIES = pcsc-lite host-pkgconf libusb
CCID_CONF_OPTS = --enable-usbdropdir=/usr/lib/pcsc/drivers
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
define CCID_INSTALL_UDEV_RULES
if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \
cp $(@D)/src/92_pcscd_ccid.rules $(TARGET_DIR)/etc/udev/rules.d/ ; \
fi;
endef
CCID_POST_INSTALL_TARGET_HOOKS += CCID_INSTALL_UDEV_RULES
endif
$(eval $(autotools-package))