void-packages/srcpkgs/pcsc-tools/template
2016-07-02 22:45:11 +02:00

36 lines
999 B
Bash

# Template file for 'pcsc-tools'
pkgname=pcsc-tools
version=1.4.27
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=aca73c890293de181cb214b675efac733853afdc97d0c151a3fb5ced28982e55
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
}