packages/utils/ccid/Makefile
Daniel Golle dcb6612fac ccid: update to version 1.5.1
1.5.1 - 14 November 2022, Ludovic Rousseau
 Add support of
  Access IS ATR220 with idProduct: 0x0184
  Alcor Link AK9567
  Alcor Link AK9572
  BLUTRONICS TAURUS NFC
  CHERRY SmartTerminal ST-1144
  CREATOR CRT-603(CZ1) CCR
  Dexon Tecnologias Digitais LTDA DXToken
  ESMART Reader ER433x ICC
  ESMART Reader ER773x Dual & 1S
  Flight system consulting Incredist
  Ledger Nano S
  Ledger Nano S Plus
  Ledger Nano SP
  Ledger Nano X
  SafeNet eToken Fusion
  Sensyl SSC-NFC Reader
 Adjust USB drivers path at run-time via environment variable PCSCLITE_HP_DROPDIR
 configure.ac: add --enable-strict option
 Fix a problem with AUTO PPS readers and ATR convention inverse cards
 examples/scardcontrol:
 - add support of 6A xx error codes
 - check WinSCard error early
 - parse wLcdLayout & bEntryValidationCondition
 macOS: log non sensitive strings as "%{public}s"
 Some other minor improvements

What's Changed
 Fix debug logging of lang in ccid.c in LudovicRousseau/CCID#96

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-12-20 01:42:14 +00:00

52 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.5.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://ccid.apdu.fr/files/
PKG_HASH:=e7a78c398ec0d617a4f98bac70d5b64f78689284dd0ae87d4692e2857f117377
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=LGPL-2.1-or-later
PKG_LICENSE_FILES:=COPYING
PKG_FIXUP:=libtool
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.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
TARGET_CFLAGS += $(FPIC)
TARGET_LDFLAGS += "-lpthread"
CONFIGURE_ARGS += \
--enable-embedded \
--enable-usbdropdir=/usr/lib/pcsc/drivers
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))