# Template file for 'pcsc-acsccid'
pkgname=pcsc-acsccid
version=1.0.6
revision=2
build_style=gnu-configure
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
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"
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}
}
