diff options
Diffstat (limited to 'app-crypt/virtualsmartcard/virtualsmartcard-0.7.ebuild')
-rw-r--r-- | app-crypt/virtualsmartcard/virtualsmartcard-0.7.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app-crypt/virtualsmartcard/virtualsmartcard-0.7.ebuild b/app-crypt/virtualsmartcard/virtualsmartcard-0.7.ebuild new file mode 100644 index 000000000000..a65cd802bc81 --- /dev/null +++ b/app-crypt/virtualsmartcard/virtualsmartcard-0.7.ebuild @@ -0,0 +1,37 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) +inherit python-single-r1 toolchain-funcs + +DESCRIPTION="Smart card emulator, can be used with Remote Smart Card Reader" +HOMEPAGE="https://frankmorgner.github.io/vsmartcard/" +SRC_URI="https://github.com/frankmorgner/vsmartcard/releases/download/${P}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +RDEPEND="${PYTHON_DEPS} + media-gfx/qrencode:= + sys-apps/pcsc-lite" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-apps/help2man + virtual/pkgconfig" + +src_configure() { + local myconf=( + # workaround buggy prefix logic + --enable-serialconfdir=$($(tc-getPKG_CONFIG) libpcsclite \ + --variable=serialconfdir) + --enable-serialdropdir=$($(tc-getPKG_CONFIG) libpcsclite \ + --variable=usbdropdir)/serial + ) + + econf "${myconf[@]}" +} |