diff options
author | Daniel Engberg <daniel.engberg.lists@pyret.net> | 2017-06-04 00:49:27 +0200 |
---|---|---|
committer | Daniel Engberg <daniel.engberg.lists@pyret.net> | 2017-06-20 09:44:18 +0200 |
commit | f2c5ffed1e0c8cd3e05db0595bc0bcb3c20e70a8 (patch) | |
tree | 26b5a70fdd46b95f30049001b2a1097525d9269e /utils/pcsc-tools/Makefile | |
parent | 31db48a506187583bd2c370682751b6b9f7cc90b (diff) |
utils/pcsc-tools: Add to repo
Add pcsc-tools to repo
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Diffstat (limited to 'utils/pcsc-tools/Makefile')
-rw-r--r-- | utils/pcsc-tools/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/utils/pcsc-tools/Makefile b/utils/pcsc-tools/Makefile new file mode 100644 index 000000000..742ca0e98 --- /dev/null +++ b/utils/pcsc-tools/Makefile @@ -0,0 +1,43 @@ +# +# Copyright (C) 2017 Daniel Engberg <daniel.engberg.lists@pyret.net> +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=pcsc-tools +PKG_VERSION=1.5.2 +PKG_RELEASE:=1 +PKG_MAINTAINER:=Daniel Engberg <daniel.engberg.lists@pyret.net> +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:=COPYING + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://ludovic.rousseau.free.fr/softwares/pcsc-tools/ +PKG_HASH:=ff4e087c76700aa5a25dd7d0bc4f55bb4a5e71cd4f0d6b5301babe0b434f86fc + +PKG_FIXUP:=autoreconf + +include $(INCLUDE_DIR)/package.mk + +define Package/pcsc-tools + SECTION:=utils + CATEGORY:=Utilities + DEPENDS:=+libpcsclite + TITLE:=pcsc-tools + URL:=http://ludovic.rousseau.free.fr/softwares/pcsc-tools/ +endef + +define Package/pcsc-tools/description + Tools that are used to test a PC/SC driver, card or reader. + Only includes pcsc_scan without ATR analysis for now. +endef + +define Package/pcsc-tools/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/pcsc_scan $(1)/usr/bin +endef + +$(eval $(call BuildPackage,pcsc-tools)) |