blob: 98d88044575e51ef0b905716a9b2eaf493c4db8f (
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
|
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/media-sound/mad/mad-0.14.2b.ebuild,v 1.3 2002/07/11 06:30:40 drobbins Exp $
S=${WORKDIR}/${P}
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://mad.sourceforge.net/"
DESCRIPTION="A high-quality MP3 decoder"
DEPEND="sys-devel/gcc virtual/glibc sys-devel/ld.so"
RDEPEND="virtual/glibc sys-devel/ld.so"
src_compile() {
confopts="--infodir=/usr/share/info --mandir=/usr/share/man \
--prefix=/usr --host=${CHOST} --enable-static \
--disable-debugging --enable-shared --enable-fpm=intel"
./configure ${confopts} || die
emake || die
}
src_install () {
make DESTDIR=${D} install || die
}
|