summaryrefslogtreecommitdiff
blob: 71517ff1f462c263b09e55df5945f35c09de4e9a (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: David Rufino <daverufino@btinternet.com>
# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg321/mpg321-0.2.10.ebuild,v 1.1 2002/03/30 13:21:12 spider Exp $

S=${WORKDIR}/${P}
DESCRIPTION="Free MP3 player, drop-in replacement for mpg123"
SRC_URI="http://download.sourceforge.net/${PN}/${P}.tar.gz"
HOMEPAGE="http://sourceforge.net/projects/${P}/"

DEPEND="virtual/glibc
	>=media-sound/mad-0.14.2b
	>=media-libs/libao-0.8.0"

src_compile() {
	./configure --build=${CHOST} \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info || die
	emake || die
}

src_install () {
	make DESTDIR=${D} install || die
	# don't create mpg123 symlink -- conflicts with media-sound/mpg123
	rm -f ${D}/usr/bin/mpg123
}