pentoo-overlay/app-crypt/acsccid/acsccid-1.1.7.ebuild
2019-11-05 22:00:31 +03:00

39 lines
701 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools udev
DESCRIPTION="Generic driver for ACS (CCID and non-CCID) Smart Card Reader"
HOMEPAGE="http://acsccid.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.bz2"
KEYWORDS="~amd64 ~arm ~x86"
LICENSE="LGPL-2.1"
SLOT="0"
RDEPEND="
sys-apps/pcsc-lite[udev]
virtual/libusb:1
!app-crypt/ccid
!app-crypt/acr38u"
DEPEND="${RDEPEND}
sys-devel/flex"
BDEPEND="virtual/pkgconfig"
src_prepare() {
eautoreconf
default
}
src_install() {
default
udev_newrules "${FILESDIR}"/92-pcsc-acsccid.rules 92-pcsc-acsccid.rules
}
pkg_postinst() {
udev_reload
}