mirror of
https://github.com/openwrt/packages.git
synced 2026-10-13 01:27:31 +04:00
New reader support (GLSolutions NM61, Identiv uTrust FIDO2, Kensington VeriMark NFC+, several Pol Henarejos Pico devices and more), removes the 16 reader limitation, and fixes crashes and race conditions in the multi-slot code. Upstream removes the autotools build system in favour of Meson, so port the package to meson.mk and drop 010-macos.patch, which patched the now removed configure.ac. The reader bundle install path is taken from libpcsclite.pc usbdropdir (/usr/lib/pcsc/drivers, unchanged); udev rules stay disabled as before. https://ccid.apdu.fr/files/ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
#
|
|
# Copyright (C) 2009-2012 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=ccid
|
|
PKG_VERSION:=1.8.0
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
PKG_SOURCE_URL:=https://ccid.apdu.fr/files/
|
|
PKG_HASH:=531dc29e7c1b9e22e1918f0767b625d52ce8a98f266eb2144c5cf5dbd29c0f67
|
|
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
|
PKG_LICENSE:=LGPL-2.1-or-later
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
PKG_BUILD_DEPENDS:=zlib
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/meson.mk
|
|
|
|
define Package/ccid
|
|
SECTION:=libs
|
|
CATEGORY:=Libraries
|
|
DEPENDS:=+libusb-1.0 +libpcsclite
|
|
TITLE:=Generic USB CCID smart card reader driver
|
|
URL:=https://ccid.apdu.fr/
|
|
endef
|
|
|
|
define Package/ccid/description
|
|
Generic USB CCID (Chip/Smart Card Interface Devices) driver and ICCD
|
|
(Integrated Circuit(s) Card Devices).
|
|
endef
|
|
|
|
MESON_ARGS += \
|
|
-Ddefault_library=shared \
|
|
-Dembedded=true \
|
|
-Dudev-rules=false
|
|
|
|
define Package/ccid/install
|
|
$(INSTALL_DIR) $(1)/usr/lib/pcsc
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pcsc/drivers $(1)/usr/lib/pcsc/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,ccid))
|