summaryrefslogtreecommitdiff
blob: c209e57b620f771f60811f3eb9efafa2ea0fe910 (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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/chipcard-client/chipcard-client-1.9.5_beta.ebuild,v 1.1 2005/01/05 12:05:43 hanno Exp $

inherit eutils

DESCRIPTION="2nd generation of the chipcard-reader-utility (client)"
HOMEPAGE="http://www.libchipcard.de"
SRC_URI="mirror://sourceforge/libchipcard/chipcard2_client-${PV/_/}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~sparc ~alpha ~ppc"

IUSE="debug ssl"

DEPEND="ssl? ( >=dev-libs/openssl-0.9.6b )
		>=sys-libs/gwenhywfar-1.4 "

S=${WORKDIR}/chipcard2_client-${PV/_/}

src_compile() {

	econf \
	`use_enable ssl` \
	`use_enable debug` \
	|| die

	emake || die
}

src_install() {
	einstall || die
	dodoc AUTHORS ChangeLog COPYING
	insinto /etc/chipcard2-client/
	doins ${S}/doc/chipcardc2.conf.example
	cp ${D}/etc/chipcard2-client/chipcardc2.conf.example \
		${D}/etc/chipcard2-client/chipcardc2.conf
}