summaryrefslogtreecommitdiff
blob: d30b305fc560205bbcf019fbe204890ab1f451bf (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-2004 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.4_beta.ebuild,v 1.1 2004/12/21 19:21:20 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"

IUSE="debug ssl"

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

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
}