summaryrefslogtreecommitdiff
blob: 9cf1efad0a2dd914512bd49c2f505d21ca65f9dd (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ccid/ccid-0.9.4.3.ebuild,v 1.1 2005/12/10 17:56:26 vanquirius Exp $

inherit eutils

DESCRIPTION="CCID free software driver"
HOMEPAGE="http://pcsclite.alioth.debian.org/ccid.html"
MY_PV="${PV%.*}"
MY_PV_P="${PV/*[^.].}"
SRC_URI="mirror://debian/pool/main/c/ccid/ccid_${MY_PV}.orig.tar.gz
	mirror://debian/pool/main/c/ccid/ccid_${MY_PV}-${MY_PV_P}.diff.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE=""
S="${WORKDIR}/ccid-${MY_PV}.orig"
RDEPEND=">=sys-apps/pcsc-lite-1.2.9_beta9
	>=dev-libs/libusb-0.1.4"


src_unpack () {
	unpack ${A}
	cd "${S}"
	epatch "${WORKDIR}/ccid_${MY_PV}-${MY_PV_P}.diff"
}

src_install() {
	cd ccid-${MY_PV}.orig
	make install DESTDIR="${D}" || die "Cannot install"

	dodoc README AUTHORS
}