pcsc-tools: update to 1.4.25.
This commit is contained in:
parent
9ab11c6a91
commit
54ae74e166
|
@ -1,41 +1,34 @@
|
|||
# Template file for 'pcsc-tools'
|
||||
pkgname=pcsc-tools
|
||||
version=1.4.24
|
||||
version=1.4.25
|
||||
revision=1
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/pcsc-tools-1.4.22.tar.gz"
|
||||
license="GPL-2"
|
||||
short_desc="Tools used to test a PC/SC driver, card or reader or send commands in a friendly environment"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="pcsclite-devel"
|
||||
depends="perl-Gtk2"
|
||||
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=176ee6f791cd7437e05d921e5041a1f2265116a5a0d1079a5b8321f2cf541682
|
||||
checksum=a9c715224e5ea293721e0bc4e1deb4a6ee73ca19f16679896ec3a47591f00c47
|
||||
|
||||
do_build() {
|
||||
make CC=$CC ${makejobs}
|
||||
}
|
||||
do_install() {
|
||||
# copy the program in /usr/bin
|
||||
mkdir -p ${DESTDIR}/usr/bin
|
||||
cp ${wrksrc}/ATR_analysis ${DESTDIR}/usr/bin
|
||||
cp ${wrksrc}/pcsc_scan ${DESTDIR}/usr/bin
|
||||
cp ${wrksrc}/scriptor ${DESTDIR}/usr/bin
|
||||
cp ${wrksrc}/gscriptor ${DESTDIR}/usr/bin
|
||||
vbin ATR_analysis
|
||||
vbin pcsc_scan
|
||||
vbin scriptor
|
||||
vbin gscriptor
|
||||
|
||||
# copy the manpages in /usr/share/man/
|
||||
mkdir -p ${DESTDIR}/usr/share/man/man1
|
||||
cp ${wrksrc}/ATR_analysis.1p ${DESTDIR}/usr/share/man/man1
|
||||
cp ${wrksrc}/pcsc_scan.1 ${DESTDIR}/usr/share/man/man1
|
||||
cp ${wrksrc}/scriptor.1p ${DESTDIR}/usr/share/man/man1
|
||||
cp ${wrksrc}/gscriptor.1p ${DESTDIR}/usr/share/man/man1
|
||||
vman ATR_analysis.1p
|
||||
vman pcsc_scan.1
|
||||
vman scriptor.1p
|
||||
vman gscriptor.1p
|
||||
|
||||
# copy the helper files in /usr/share/${pkgname}
|
||||
mkdir -p ${DESTDIR}/usr/share/${pkgname}
|
||||
cp ${wrksrc}/README ${DESTDIR}/usr/share/${pkgname}
|
||||
cp ${wrksrc}/test.script ${DESTDIR}/usr/share/${pkgname}
|
||||
|
||||
# copy the smartcarlist to the default location hardcoded in pcsc_scan
|
||||
mkdir -p ${DESTDIR}/usr/share/pcsc
|
||||
cp ${wrksrc}/smartcard_list.txt ${DESTDIR}/usr/share/pcsc
|
||||
vdoc README
|
||||
vdoc test.script
|
||||
vdoc smartcard_list.txt
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue