summaryrefslogtreecommitdiff
blob: 91a35c74763d5362bac8c296394244ae5b27bf79 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg321/mpg321-0.2.10.ebuild,v 1.2 2002/07/11 06:30:41 drobbins 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
}