summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/cd-discid/cd-discid-0.8.ebuild')
-rw-r--r--media-sound/cd-discid/cd-discid-0.8.ebuild23
1 files changed, 12 insertions, 11 deletions
diff --git a/media-sound/cd-discid/cd-discid-0.8.ebuild b/media-sound/cd-discid/cd-discid-0.8.ebuild
index 7706a03ffdc6..a6ea1f998e2e 100644
--- a/media-sound/cd-discid/cd-discid-0.8.ebuild
+++ b/media-sound/cd-discid/cd-discid-0.8.ebuild
@@ -1,29 +1,30 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/cd-discid/cd-discid-0.8.ebuild,v 1.1 2003/09/21 21:14:55 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cd-discid/cd-discid-0.8.ebuild,v 1.1.1.1 2005/11/30 09:38:31 chriswhite Exp $
+
+IUSE=""
+
+inherit toolchain-funcs
-S=${WORKDIR}/${P}
DESCRIPTION="returns the disc id for the cd in the cd-rom drive"
SRC_URI="http://lly.org/~rcw/cd-discid/${PN}_${PV}.orig.tar.gz"
HOMEPAGE="http://lly.org/~rcw/abcde/page/"
-DEPEND="virtual/glibc"
-
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="x86 sparc ppc"
+KEYWORDS="amd64 ppc sparc x86"
-src_compile() {
+DEPEND="virtual/libc"
- echo gcc ${CFLAGS} -o cd-discid cd-discid.c
- gcc ${CFLAGS} -o cd-discid cd-discid.c
+src_compile() {
+ echo $(tc-getCC) ${CFLAGS} -o cd-discid cd-discid.c
+ $(tc-getCC) ${CFLAGS} -o cd-discid cd-discid.c
}
src_install () {
-
into /usr
dobin cd-discid
doman cd-discid.1
- dodoc COPYING README changelog
+ dodoc README changelog
}