summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2007-11-11 06:25:53 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2007-11-11 06:25:53 +0000
commit579a36ef999d84018704a24ff954078d2b5a96b6 (patch)
tree10478133e68fa3efc00331724a2470ef0a40e8d6 /sys-apps/ifd-gempc/ifd-gempc-1.0.3.ebuild
parentamd64 stable wrt #198416 and use emake in src_install with D quoted. (diff)
downloadgentoo-2-579a36ef999d84018704a24ff954078d2b5a96b6.tar.gz
gentoo-2-579a36ef999d84018704a24ff954078d2b5a96b6.tar.bz2
gentoo-2-579a36ef999d84018704a24ff954078d2b5a96b6.zip
Cleanups
(Portage version: 2.1.3.19)
Diffstat (limited to 'sys-apps/ifd-gempc/ifd-gempc-1.0.3.ebuild')
-rw-r--r--sys-apps/ifd-gempc/ifd-gempc-1.0.3.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys-apps/ifd-gempc/ifd-gempc-1.0.3.ebuild b/sys-apps/ifd-gempc/ifd-gempc-1.0.3.ebuild
index 880c09133a9d..af58980eee9e 100644
--- a/sys-apps/ifd-gempc/ifd-gempc-1.0.3.ebuild
+++ b/sys-apps/ifd-gempc/ifd-gempc-1.0.3.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifd-gempc/ifd-gempc-1.0.3.ebuild,v 1.1 2007/11/10 17:20:18 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifd-gempc/ifd-gempc-1.0.3.ebuild,v 1.2 2007/11/11 06:25:53 alonbl Exp $
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="GemCore based PC/SC reader drivers for pcsc-lite"
HOMEPAGE="http://ludovic.rousseau.free.fr/softwares/ifd-GemPC"
@@ -16,10 +16,14 @@ RDEPEND=">=sys-apps/pcsc-lite-1.2.9_beta5
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+src_compile() {
+ emake CC="$(tc-getCC)" || die
+}
+
src_install () {
local pcscdir="$(pkg-config --variable=usbdropdir libpcsclite)"
local conf="/etc/reader.conf.d/${PN}.conf"
- emake "DESTDIR=${D}" install || die
+ emake install CC="$(tc-getCC)" DESTDIR="${D}" || die
dodoc README*
dodir "$(dirname "${conf}")"
insinto "$(dirname "${conf}")"