blob: 735819903c8423b2cf168655a9714d82a06840b6 (
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
31
32
33
34
35
36
37
38
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/towitoko/towitoko-2.0.7-r2.ebuild,v 1.2 2009/12/15 16:49:30 ssuominen Exp $
IUSE="moneyplex"
DESCRIPTION="This library provides a driver for using Towitoko smartcard readers under UNIX environment."
SRC_URI="mirror://gentoo/${P}.tar.gz"
HOMEPAGE="http://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() {
einstall || 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
}
|