summaryrefslogtreecommitdiff
blob: 57800e76649dbfed7872f136a20f6bc0926193e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Driver for Towitoko smartcard readers"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI="mirror://gentoo/${P}.tar.gz"

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 "https://www.matrica.de"
		elog "then please re-emerge this package with 'moneyplex' in USE"
	fi
}