summaryrefslogtreecommitdiff
blob: 8d67c65f2d3509019ee19e099ca09365ac5bff2e (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header

S=${WORKDIR}/${P}
DESCRIPTION="Libchipcard is a library for easy access to chip cards via chip card readers (terminals)."
SRC_URI="mirror://sourceforge/libchipcard/${P}.tar.gz"
HOMEPAGE="http://www.libchipcard.de"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE="ssl qt kde"

DEPEND="virtual/glibc"

src_compile() {

	local myconf
	use qt  || myconf="${myconf} --disable-qtapps"
	use kde || myconf="${myconf} --disable-kdeapps"
	use ssl || myconf="${myconf} --disable-ssl"
	econf ${myconf} || die
	emake || die

}

src_install () {

	make DESTDIR=${D} chroot_dir=${D} install || die
	rm -rf ${D}/var
}