2 # Copyright (C) 2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://alioth.debian.org/frs/download.php/3080
16 PKG_MD5SUM:=727dc7eb4d560f81fe70a766a96de970
20 include $(INCLUDE_DIR)/package.mk
25 DEPENDS:=+libusb +libpcsclite
26 TITLE:=Generic USB CCID smart card reader driver
27 URL:=http://pcsclite.alioth.debian.org/ccid.html
30 define Package/ccid/description
31 Generic USB CCID (Chip/Smart Card Interface Devices) driver and ICCD (Integrated Circuit(s) Card Devices).
34 TARGET_CFLAGS += $(FPIC)
36 define Build/Configure
37 $(call Build/Configure/Default, \
38 --enable-usbdropdir=/usr/lib/pcsc/drivers \
42 define Package/ccid/install
43 $(INSTALL_DIR) $(1)/usr/lib/pcsc/
44 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pcsc/drivers $(1)/usr/lib/pcsc/
47 $(eval $(call BuildPackage,ccid))