summaryrefslogtreecommitdiff
blob: 40c9ced13056e022d3860efdaa611f3ed020725b (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/media-sound/moc/moc-1.1.0.ebuild

IUSE="oggvorbis"

S=${WORKDIR}/${P}
DESCRIPTION="Music On Console - ncurses interface for playing audio files"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://moc.daper.net/"

DEPEND="media-libs/libao
	sys-libs/ncurses"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"

src_compile() {
	local myconf
	use oggvorbis || myconf="--without-ogg"

	econf ${myconf} || die
	emake || die
}

src_install () {
	einstall || die
}