1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit libtool flag-o-matic eutils toolchain-funcs
9 DESCRIPTION
="the Ogg Vorbis sound file format library"
10 HOMEPAGE
="http://xiph.org/vorbis aotuv? ( http://www.geocities.jp/aoyoume/aotuv/ )"
11 SRC_URI
="http://downloads.xiph.org/releases/vorbis/${P}.tar.bz2"
15 KEYWORDS
="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
18 RDEPEND
=">=media-libs/libogg-1"
27 epatch
"${FILESDIR}"/${P}-aotuvb5.5.
diff.gz
35 sed -i -e "s:-O20::g" -e "s:-mfused-madd::g" configure
36 sed -i -e "s:-mcpu=750::g" configure
40 # gcc-3.4 and k6 with -ftracer causes code generation problems #49472
41 if [[ "$(gcc-major-version)$(gcc-minor-version)" == "34" ]]; then
42 is-flag
-march=k6
* && filter-flags
-ftracer
43 is-flag
-mtune=k6
* && filter-flags
-ftracer
48 emake || die
"emake failed."
52 emake DESTDIR
="${D}" install || die
"emake install failed."
54 rm -rf "${D}"/usr
/share
/doc
/${P}
56 dodoc AUTHORS CHANGES README todo.txt