summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2004-02-18 09:26:14 +0000
committerMartin Holzer <mholzer@gentoo.org>2004-02-18 09:26:14 +0000
commit946384b718e65a48edeeb53c2e6b02b4dcc5cd11 (patch)
treecfd5558426fddf547a345585b1402d85be36709a /media-libs/libmad/libmad-0.15.1b.ebuild
parentAdded to ~ppc (Manifest recommit) (diff)
downloadgentoo-2-946384b718e65a48edeeb53c2e6b02b4dcc5cd11.tar.gz
gentoo-2-946384b718e65a48edeeb53c2e6b02b4dcc5cd11.tar.bz2
gentoo-2-946384b718e65a48edeeb53c2e6b02b4dcc5cd11.zip
Version bumped.
Diffstat (limited to 'media-libs/libmad/libmad-0.15.1b.ebuild')
-rw-r--r--media-libs/libmad/libmad-0.15.1b.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/media-libs/libmad/libmad-0.15.1b.ebuild b/media-libs/libmad/libmad-0.15.1b.ebuild
new file mode 100644
index 000000000000..ec4338a7d3c5
--- /dev/null
+++ b/media-libs/libmad/libmad-0.15.1b.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/libmad-0.15.1b.ebuild,v 1.1 2004/02/18 09:26:14 mholzer Exp $
+
+IUSE="debug"
+
+S=${WORKDIR}/${P}
+
+DESCRIPTION="\"M\"peg \"A\"udio \"D\"ecoder library"
+HOMEPAGE="http://mad.sourceforge.net"
+SRC_URI="mirror://sourceforge/mad/${P}.tar.gz"
+RESTRICT="nomirror"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~alpha ~sparc ~hppa ~amd64 ~mips ~ia64"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+}
+
+src_compile() {
+ local myconf
+
+ myconf="--with-gnu-ld --enable-accuracy"
+ # --enable-speed optimize for speed over accuracy
+ # --enable-accuracy optimize for accuracy over speed
+ # --enable-experimental enable code using the EXPERIMENTAL
+ # preprocessor define
+
+ use debug && myconf="${myconf} --enable-debugging" \
+ || myconf="${myconf} --disable-debugging"
+
+ econf ${myconf} || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ einstall || die "make install failed"
+
+ dodoc CHANGES COPYRIGHT CREDITS README TODO VERSION
+
+ # This file must be updated with each version update
+ dodir /usr/lib/pkgconfig
+ insinto /usr/lib/pkgconfig
+ doins ${FILESDIR}/mad.pc
+}