# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit autotools udev HOMEPAGE="www.acs.com.hk" DESCRIPTION="Generic driver for ACS (CCID and non-CCID) Smart Card Reader." # the original archive available on supplier website is at # https://www.acs.com.hk/download-driver-unified/9184/ACS-Unified-Driver-Lnx-Mac-115-P.zip # and contains the archive available on github SRC_URI="https://github.com/acshk/acsccid/archive/v${PV}.tar.gz -> ${P}.tar.gz" SLOT="0" LICENSE="LGPL-2.1" KEYWORDS="~amd64 ~x86" IUSE="udev" RDEPEND="udev? ( virtual/udev ) >=sys-apps/pcsc-lite-1.8.3 virtual/libusb:1 !app-crypt/ccid !app-crypt/acr38u" DEPEND="${RDEPEND} dev-lang/perl sys-devel/flex virtual/pkgconfig" src_prepare() { eautoreconf default } src_install() { default use udev && udev_dorules src/92_pcscd_acsccid.rules }