Add buildroot 2018-02
This commit is contained in:
15
buildroot/package/ccid/Config.in
Normal file
15
buildroot/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
|
||||
|
||||
http://pcsclite.alioth.debian.org/ccid.html
|
||||
|
||||
comment "ccid needs a toolchain w/ threads, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
3
buildroot/package/ccid/ccid.hash
Normal file
3
buildroot/package/ccid/ccid.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# From http://cdn-fastly.deb.debian.org/debian/pool/main/c/ccid/ccid_1.4.27-1.dsc
|
||||
sha1 d72ee816422183a86006e0083ccd643236b4e12a ccid_1.4.27.tar.bz2
|
||||
sha256 a660e269606986cb94840ad5ba802ffb0cd23dd12b98f69a35035e0deb9dd137 ccid_1.4.27.tar.bz2
|
||||
25
buildroot/package/ccid/ccid.mk
Normal file
25
buildroot/package/ccid/ccid.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# ccid
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CCID_VERSION = 1.4.27
|
||||
CCID_SOURCE = ccid_$(CCID_VERSION).tar.bz2
|
||||
CCID_SITE = https://alioth.debian.org/frs/download.php/file/4218
|
||||
CCID_LICENSE = LGPL-2.1+
|
||||
CCID_LICENSE_FILES = COPYING
|
||||
CCID_INSTALL_STAGING = YES
|
||||
CCID_DEPENDENCIES = pcsc-lite host-pkgconf libusb
|
||||
|
||||
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