2 # Copyright (C) 2009-2012 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
:=https
://alioth.debian.org
/frs
/download.php
/file
/4091
16 PKG_MD5SUM
:=a227a20a0dd034cd4bb7400806a0a2d0
17 PKG_MAINTAINER
:=Daniel Golle
<daniel@makrotopia.org
>
18 PKG_LICENSE
:=LGPL-2.1
+
19 PKG_LICENSE_FILES
:=COPYING
24 include $(INCLUDE_DIR
)/package.mk
29 DEPENDS
:=+libusb-1.0
+libpcsclite
30 TITLE
:=Generic USB CCID smart card reader driver
31 URL
:=http
://pcsclite.alioth.debian.org
/ccid.html
34 define Package
/ccid
/description
35 Generic USB CCID
(Chip
/Smart Card Interface Devices
) driver and ICCD
36 (Integrated Circuit
(s
) Card Devices
).
39 TARGET_CFLAGS
+= $(FPIC
)
41 TARGET_LDFLAGS
+= "-lpthread"
45 --enable-usbdropdir
=/usr
/lib
/pcsc
/drivers
47 define Package
/ccid
/install
48 $(INSTALL_DIR
) $(1)/usr
/lib
/pcsc
49 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pcsc
/drivers
$(1)/usr
/lib
/pcsc
/
52 $(eval
$(call BuildPackage
,ccid
))