diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/towitoko/towitoko-2.0.7-r2.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/towitoko/towitoko-2.0.7-r2.ebuild')
-rw-r--r-- | app-misc/towitoko/towitoko-2.0.7-r2.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app-misc/towitoko/towitoko-2.0.7-r2.ebuild b/app-misc/towitoko/towitoko-2.0.7-r2.ebuild new file mode 100644 index 000000000000..9ba4886366b9 --- /dev/null +++ b/app-misc/towitoko/towitoko-2.0.7-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +IUSE="moneyplex" + +DESCRIPTION="Provides a driver for using Towitoko smartcard readers under UNIX environment" +SRC_URI="mirror://gentoo/${P}.tar.gz" +HOMEPAGE="https://www.gentoo.org/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ppc x86" + +src_compile() { + local myconf + + myconf="" + use moneyplex && myconf="${myconf} --disable-atr-check" + + econf \ + $(use_enable moneyplex win32-com) \ + ${myconf} || die "econf failed" + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die +} + +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 +} |