2009-07-31 20:21:18 +00:00
|
|
|
#
|
2010-02-19 00:14:01 +00:00
|
|
|
# Copyright (C) 2009-2010 OpenWrt.org
|
2009-07-31 20:21:18 +00:00
|
|
|
#
|
|
|
|
# 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.3.11
|
2010-02-19 00:14:01 +00:00
|
|
|
PKG_RELEASE:=2
|
2009-07-31 20:21:18 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=http://alioth.debian.org/frs/download.php/3080
|
|
|
|
PKG_MD5SUM:=727dc7eb4d560f81fe70a766a96de970
|
|
|
|
|
2010-02-19 00:14:01 +00:00
|
|
|
PKG_FIXUP:=libtool
|
2010-02-18 13:10:21 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
2009-07-31 20:21:18 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/ccid
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
DEPENDS:=+libusb +libpcsclite
|
|
|
|
TITLE:=Generic USB CCID smart card reader driver
|
|
|
|
URL:=http://pcsclite.alioth.debian.org/ccid.html
|
|
|
|
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)
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
$(call Build/Configure/Default, \
|
|
|
|
--enable-usbdropdir=/usr/lib/pcsc/drivers \
|
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
|
|
|
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))
|