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