app-crypt/acsccid - 1.1.13-r2 (linuxunderground-overlay)

Search

Package Information

Description:
Generic driver for ACS (CCID and non-CCID) Smart Card Reader.
Homepage:
https://github.com/acshk/acsccid
License:
LGPL-2.1

Ebuild Details

Version EAPI Keywords Slot
1.1.13-r2 8 ~amd64 ~arm ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools udev

DESCRIPTION="Generic driver for ACS (CCID and non-CCID) Smart Card Reader."
HOMEPAGE="https://github.com/acshk/acsccid"
SRC_URI="https://codeload.github.com/acshk/${PN}/tar.gz/v${PV} -> ${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"

RDEPEND="sys-apps/pcsc-lite
	virtual/libusb:1
	!app-crypt/acr38u"
DEPEND="${RDEPEND}
	dev-lang/perl
	sys-devel/flex
	sys-devel/gettext"
BDEPEND="kernel_linux? ( virtual/pkgconfig )"

src_prepare() {
	default
	# See bootstrap file
	mkdir config || die
	cp /usr/share/gettext/config.rpath config || die
	eautoreconf
}

src_install() {
	default

	if use kernel_linux; then
		udev_dorules "${FILESDIR}/92_pcscd_acsccid.rules"
	fi
}

pkg_postinst() {
	if use kernel_linux; then
	    udev_reload
	fi
}

pkg_postrm() {
	if use kernel_linux; then
	    udev_reload
	fi
}

Dependencies

DEPEND

sys-apps/pcsc-lite
	virtual/libusb:1
	!app-crypt/acr38u
	dev-lang/perl
	sys-devel/flex
	sys-devel/gettext

RDEPEND

sys-apps/pcsc-lite
	virtual/libusb:1
	!app-crypt/acr38u

BDEPEND

kernel_linux? ( virtual/pkgconfig )