summaryrefslogtreecommitdiff
blob: dd37fb89fc74e6a9c3cbfb6129e797da9fdf9b55 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/mcdp/mcdp-0.3j.ebuild,v 1.9 2004/09/14 16:40:08 eradicator Exp $

IUSE="diet"

DESCRIPTION="A very small console cd player"
HOMEPAGE="http://www.mcmilk.de/projects/mcdp/"
SRC_URI="http://www.mcmilk.de/projects/mcdp/dl/${P}.tar.gz"

SLOT="0"
KEYWORDS="x86 amd64 sparc"
LICENSE="GPL-2"

DEPEND="diet? ( dev-libs/dietlibc )
	!diet? ( virtual/libc )"

src_compile() {
	if use diet; then
		emake || die
	else
		emake CC="gcc" || die
	fi
}

src_install() {
	dobin mcdp || die
	doman mcdp.1 || die

	cd doc
	dodoc CHANGES INSTALL README THANKS profile.sh
}