diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-20 12:05:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-20 12:05:24 +0100 |
commit | da7ae1dd1fccb6b3c0e4763ab983ad96d57bf463 (patch) | |
tree | 0a7a1b7b3ad60c3b21c697e75908b256fc9ed6b1 /app-crypt/ccid/ccid-1.5.5.ebuild | |
parent | b6cfc0c19effe2d9f7b8ab303cd00636f16da253 (diff) |
gentoo auto-resync : 20:04:2024 - 12:05:23
Diffstat (limited to 'app-crypt/ccid/ccid-1.5.5.ebuild')
-rw-r--r-- | app-crypt/ccid/ccid-1.5.5.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/app-crypt/ccid/ccid-1.5.5.ebuild b/app-crypt/ccid/ccid-1.5.5.ebuild new file mode 100644 index 000000000000..d701d5ebd5cf --- /dev/null +++ b/app-crypt/ccid/ccid-1.5.5.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools udev + +DESCRIPTION="CCID free software driver" +HOMEPAGE="https://ccid.apdu.fr https://github.com/LudovicRousseau/CCID" +SRC_URI="https://ccid.apdu.fr/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="twinserial +usb" + +RDEPEND=" + >=sys-apps/pcsc-lite-1.8.3 + twinserial? ( dev-lang/perl ) + usb? ( virtual/libusb:1 ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-remove-flex-configure-dependency.patch +) + +src_prepare() { + default + + eautoconf +} + +src_configure() { + econf \ + LEX=: \ + $(use_enable twinserial) \ + $(use_enable usb libusb) +} + +src_install() { + default + udev_newrules src/92_pcscd_ccid.rules 92-pcsc-ccid.rules +} + +pkg_postinst() { + udev_reload + einfo "Check https://github.com/LudovicRousseau/CCID/blob/master/INSTALL" + einfo "for more info about how to configure and use ccid" +} + +pkg_postrm() { + udev_reload +} |