void-packages/srcpkgs/pcsc-acsccid/template

24 lines
885 B
Plaintext

# Template file for 'pcsc-acsccid'
pkgname=pcsc-acsccid
version=1.0.6
revision=2
build_style=gnu-configure
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
homepage="http://acsccid.sourceforge.net"
license="LGPL-2.1"
short_desc="PC/SC driver to support ACS CCID smart card readers"
configure_args="--enable-udev"
hostmakedepends="pkg-config flex perl"
makedepends="pcsclite-devel libudev-devel libusb-compat-devel"
depends="pcsclite"
update_pkgname="${pkgname/pcsc-/}"
distfiles="${SOURCEFORGE_SITE}/${pkgname/pcsc-/}/${pkgname/pcsc-/}-${version}.tar.bz2"
checksum="6079b87228ac2411cce2ee1111db12cb08e3d774b8f3cfd38ed6e5d27071387e"
wrksrc=${pkgname/pcsc-/}-${version}
post_install() {
vinstall src/92_pcscd_acsccid.rules 644 usr/lib/udev/rules.d/
vinstall src/supported_readers.txt 644 usr/share/doc/${pkgname}
vinstall README 644 usr/share/doc/${pkgname}
}