# 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 }