No Description

Makefile 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #
  2. # Copyright (C) 2009-2012 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=ccid
  9. PKG_VERSION:=1.4.17
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  12. PKG_SOURCE_URL:=https://alioth.debian.org/frs/download.php/file/4091
  13. PKG_MD5SUM:=a227a20a0dd034cd4bb7400806a0a2d0
  14. PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
  15. PKG_LICENSE:=LGPL-2.1+
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_FIXUP:=libtool
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/ccid
  21. SECTION:=libs
  22. CATEGORY:=Libraries
  23. DEPENDS:=+libusb-1.0 +libpcsclite
  24. TITLE:=Generic USB CCID smart card reader driver
  25. URL:=http://pcsclite.alioth.debian.org/ccid.html
  26. endef
  27. define Package/ccid/description
  28. Generic USB CCID (Chip/Smart Card Interface Devices) driver and ICCD
  29. (Integrated Circuit(s) Card Devices).
  30. endef
  31. TARGET_CFLAGS += $(FPIC)
  32. TARGET_LDFLAGS += "-lpthread"
  33. CONFIGURE_ARGS += \
  34. --enable-embedded \
  35. --enable-usbdropdir=/usr/lib/pcsc/drivers
  36. define Package/ccid/install
  37. $(INSTALL_DIR) $(1)/usr/lib/pcsc
  38. $(CP) $(PKG_INSTALL_DIR)/usr/lib/pcsc/drivers $(1)/usr/lib/pcsc/
  39. endef
  40. $(eval $(call BuildPackage,ccid))