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
:=http
://alioth.debian.org
/frs
/download.php
/3672
16 PKG_MD5SUM
:=cb9a77194ac335c39b262ea83a5b7d2e
21 include $(INCLUDE_DIR
)/package.mk
26 DEPENDS
:=+libusb-1.0
+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
33 (Integrated Circuit
(s
) Card Devices
).
36 TARGET_CFLAGS
+= $(FPIC
)
40 --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
))