blob: 4ce7984b5da65b69f70f6f4af4ec8676b4c1f758 (
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
|
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/media-sound/mad/mad-0.14.2b.ebuild,v 1.2 2002/05/27 17:27:38 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
}
|