summaryrefslogtreecommitdiff
blob: 062f7416f374ec3573d83cffc2a17de1aa74c4ff (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-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/cplay/cplay-1.49.ebuild,v 1.13 2007/02/04 14:12:33 drac Exp $

IUSE="mp3 vorbis"

DESCRIPTION="A Curses front-end for various audio players."
SRC_URI="http://mask.tf.hut.fi/~flu/cplay/${P}.tar.gz"
HOMEPAGE="http://mask.tf.hut.fi/~flu/hacks/cplay/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 hppa ~ppc ppc64 sparc x86"

DEPEND="sys-devel/gettext"
RDEPEND="virtual/python
	vorbis? ( media-sound/vorbis-tools )
	mp3? ( ||
		(
			media-sound/mpg321
			media-sound/madplay
			media-sound/splay
		) )"

src_install () {
	make PREFIX=${D}/usr recursive-install || die "make failed"

	dosed "s:/usr/local:/usr:g" cplay
	dobin cplay
	doman cplay.1
	dodoc ChangeLog README TODO
}