blob: ca4c67a1858765151b052540fdd17f2cd5117072 (
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
|
# Copyright 1999-2009 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.17 2009/02/27 12:47:06 aballier Exp $
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/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 hppa ~ppc ppc64 sparc x86"
IUSE="mp3 vorbis"
DEPEND="sys-devel/gettext"
RDEPEND="dev-lang/python
vorbis? ( media-sound/vorbis-tools )
mp3? ( ||
(
virtual/mpg123
media-sound/madplay
media-sound/splay
) )"
src_install () {
emake PREFIX="${D}/usr" recursive-install || die "emake failed."
dobin cplay || die "dobin failed."
doman cplay.1
dodoc ChangeLog README TODO
sed -i -e "s:/usr/local:/usr:g" "${D}"/usr/bin/cplay || die "dosed failed."
}
|