mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
15
package/ccid/Config.in
Normal file
15
package/ccid/Config.in
Normal 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
3
package/ccid/ccid.hash
Normal 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
26
package/ccid/ccid.mk
Normal 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))
|
||||
Reference in New Issue
Block a user