app-misc/towitoko: EAPI 6 bump.
authorPatrice Clement <monsieurp@gentoo.org>
Sat, 21 Oct 2017 17:23:51 +0000 (19:23 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Sat, 21 Oct 2017 17:25:03 +0000 (19:25 +0200)
Package-Manager: Portage-2.3.8, Repoman-2.3.3

app-misc/towitoko/towitoko-2.0.7-r3.ebuild [new file with mode: 0644]

diff --git a/app-misc/towitoko/towitoko-2.0.7-r3.ebuild b/app-misc/towitoko/towitoko-2.0.7-r3.ebuild
new file mode 100644 (file)
index 0000000..0538c5f
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Driver for Towitoko smartcard readers"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+HOMEPAGE="https://www.gentoo.org/"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+
+IUSE="moneyplex"
+
+src_configure() {
+       local myconf
+       use moneyplex && myconf="--disable-atr-check"
+       econf \
+               $(use_enable moneyplex win32-com) \
+               "${myconf}"
+}
+
+pkg_postinst() {
+       if ! use moneyplex; then
+               elog "If you want to use the moneyplex home banking software from"
+               elog "http://www.matrica.de"
+               elog "then please re-emerge this package with 'moneyplex' in USE"
+       fi
+}