You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2017 Daniel Engberg <daniel.engberg.lists@pyret.net>
  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:=pcsc-tools
  9. PKG_VERSION=1.5.2
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=Daniel Engberg <daniel.engberg.lists@pyret.net>
  12. PKG_LICENSE:=GPL-2.0
  13. PKG_LICENSE_FILES:=COPYING
  14. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  15. PKG_SOURCE_URL:=http://ludovic.rousseau.free.fr/softwares/pcsc-tools/
  16. PKG_HASH:=ff4e087c76700aa5a25dd7d0bc4f55bb4a5e71cd4f0d6b5301babe0b434f86fc
  17. PKG_FIXUP:=autoreconf
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/pcsc-tools
  20. SECTION:=utils
  21. CATEGORY:=Utilities
  22. DEPENDS:=+libpcsclite
  23. TITLE:=pcsc-tools
  24. URL:=http://ludovic.rousseau.free.fr/softwares/pcsc-tools/
  25. endef
  26. define Package/pcsc-tools/description
  27. Tools that are used to test a PC/SC driver, card or reader.
  28. Only includes pcsc_scan without ATR analysis for now.
  29. endef
  30. define Package/pcsc-tools/install
  31. $(INSTALL_DIR) $(1)/usr/bin
  32. $(INSTALL_BIN) $(PKG_BUILD_DIR)/pcsc_scan $(1)/usr/bin
  33. endef
  34. $(eval $(call BuildPackage,pcsc-tools))