Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 124865
Collapse All | Expand All

(-)ccid-0.9.4.3.ebuild (-13 / +4 lines)
Lines 4-32 Link Here
4
4
5
inherit eutils
5
inherit eutils
6
6
7
STUPID_NUM=1474
7
DESCRIPTION="CCID free software driver"
8
DESCRIPTION="CCID free software driver"
8
HOMEPAGE="http://pcsclite.alioth.debian.org/ccid.html"
9
HOMEPAGE="http://pcsclite.alioth.debian.org/ccid.html"
9
MY_PV="${PV%.*}"
10
SRC_URI="http://alioth.debian.org/download.php/${STUPID_NUM}/${P}.tar.gz"
10
MY_PV_P="${PV/*[^.].}"
11
11
SRC_URI="mirror://debian/pool/main/c/ccid/ccid_${MY_PV}.orig.tar.gz
12
	mirror://debian/pool/main/c/ccid/ccid_${MY_PV}-${MY_PV_P}.diff.gz"
13
LICENSE="GPL-2"
12
LICENSE="GPL-2"
14
SLOT="0"
13
SLOT="0"
15
KEYWORDS="~ppc ~x86"
14
KEYWORDS="~ppc ~x86"
16
IUSE=""
15
IUSE=""
17
S="${WORKDIR}/ccid-${MY_PV}.orig"
18
RDEPEND=">=sys-apps/pcsc-lite-1.2.9_beta9
16
RDEPEND=">=sys-apps/pcsc-lite-1.2.9_beta9
19
	>=dev-libs/libusb-0.1.4"
17
	>=dev-libs/libusb-0.1.4"
20
18
21
22
src_unpack () {
23
	unpack ${A}
24
	cd "${S}"
25
	epatch "${WORKDIR}/ccid_${MY_PV}-${MY_PV_P}.diff"
26
}
27
28
src_install() {
19
src_install() {
29
	cd ccid-${MY_PV}.orig
20
	cd "${S}"
30
	make install DESTDIR="${D}" || die "Cannot install"
21
	make install DESTDIR="${D}" || die "Cannot install"
31
22
32
	dodoc README AUTHORS
23
	dodoc README AUTHORS

Return to bug 124865