/[gentoo-x86]/media-sound/mp3gain/mp3gain-1.4.6-r3.ebuild
Gentoo

Contents of /media-sound/mp3gain/mp3gain-1.4.6-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Thu Jan 7 14:38:48 2010 UTC (4 years, 9 months ago) by fauli
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +3 -3 lines
Transfer Prefix keywords
(Portage version: 2.1.6.13/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/mp3gain/mp3gain-1.4.6-r3.ebuild,v 1.7 2009/06/25 17:54:54 armin76 Exp $
4
5 inherit eutils flag-o-matic toolchain-funcs
6
7 IUSE=""
8
9 MY_P=${P//./_}
10 S=${WORKDIR}
11
12 DESCRIPTION="MP3Gain automatically adjusts mp3s so that they all have the same volume"
13 HOMEPAGE="http://mp3gain.sourceforge.net"
14 SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.zip"
15
16 SLOT="0"
17 LICENSE="LGPL-2.1"
18 KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
19
20 DEPEND="app-arch/unzip"
21 RDEPEND=""
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26
27 filter-flags -O*
28 sed -i -e "s:CC=.*:CC=$(tc-getCC):" \
29 -e "s:CFLAGS= -Wall -O3 -DHAVE_MEMCPY:CFLAGS+= -Wall -DHAVE_MEMCPY:" \
30 -e "s:LIBS=.*:LIBS= ${LDFLAGS} -lm:" \
31 "${S}"/Makefile \
32 || die "Unable to adjust build system compiler/flags."
33 epatch "${FILESDIR}"/${PV}-option-parser.patch
34 }
35
36 src_install () {
37 dobin mp3gain
38 }

  ViewVC Help
Powered by ViewVC 1.1.20