2 # Copyright (C) 2009-2010 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
21 include $(INCLUDE_DIR
)/package.mk
26 DEPENDS
:=+libusb
+libpcsclite
27 TITLE
:=Generic USB CCID smart card reader driver
28 URL
:=http
://pcsclite.alioth.debian.org
/ccid.html
31 define Package
/ccid
/description
32 Generic USB CCID
(Chip
/Smart Card Interface Devices
) driver and ICCD
(Integrated Circuit
(s
) Card Devices
).
35 TARGET_CFLAGS
+= $(FPIC
)
37 define Build
/Configure
38 $(call Build
/Configure
/Default
, \
39 --enable-usbdropdir
=/usr
/lib
/pcsc
/drivers \
43 define Package
/ccid
/install
44 $(INSTALL_DIR
) $(1)/usr
/lib
/pcsc
/
45 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pcsc
/drivers
$(1)/usr
/lib
/pcsc
/
48 $(eval
$(call BuildPackage
,ccid
))