void-packages/srcpkgs/pcsc-tools/template
2016-03-20 05:24:40 +01:00

36 lines
999 B
Bash

# Template file for 'pcsc-tools'
pkgname=pcsc-tools
version=1.4.26
revision=1
hostmakedepends="pkg-config"
makedepends="pcsclite-devel"
depends="perl-Gtk2 perl-pcsc"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://ludovic.rousseau.free.fr/softwares/pcsc-tools"
license="GPL-2"
short_desc="Tools used to test a PC/SC driver, card or reader or send commands in a friendly environment"
distfiles="http://ludovic.rousseau.free.fr/softwares/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=8006bab91e49adb47e383323596ed618ef4f634427672cef2688fdcce66625a7
nocross="http://build.voidlinux.eu/builders/armv6l-musl_builder/builds/8625/steps/shell_3/logs/stdio"
do_build() {
make CC=$CC ${makejobs}
}
do_install() {
# copy the program in /usr/bin
vbin ATR_analysis
vbin pcsc_scan
vbin scriptor
vbin gscriptor
# copy the manpages in /usr/share/man/
vman ATR_analysis.1p
vman pcsc_scan.1
vman scriptor.1p
vman gscriptor.1p
vdoc README
vdoc test.script
vdoc smartcard_list.txt
}