Lines 1-10
Link Here
|
1 |
# Copyright 1999-2008 Gentoo Foundation |
1 |
# Copyright 1999-2008 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/wavpack/wavpack-4.41.0.ebuild,v 1.12 2008/03/07 07:39:15 drac Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/wavpack/wavpack-4.41.0.ebuild,v 1.12 2008/03/07 07:39:15 drac Exp $ |
4 |
|
4 |
|
5 |
inherit libtool |
5 |
inherit libtool flag-o-matic toolchain-funcs versionator |
6 |
|
6 |
|
7 |
DESCRIPTION="WavPack audio compression tools" |
7 |
DESCRIPTION="WavPack audio compression tools" |
8 |
HOMEPAGE="http://www.wavpack.com" |
8 |
HOMEPAGE="http://www.wavpack.com" |
9 |
SRC_URI="http://www.wavpack.com/${P}.tar.bz2" |
9 |
SRC_URI="http://www.wavpack.com/${P}.tar.bz2" |
10 |
|
10 |
|
Lines 18-27
Link Here
|
18 |
cd "${S}" |
18 |
cd "${S}" |
19 |
elibtoolize |
19 |
elibtoolize |
20 |
} |
20 |
} |
21 |
|
21 |
|
22 |
src_compile() { |
22 |
src_compile() { |
|
|
23 |
|
24 |
#Kluge to make Wavpack build w/GCC >=4.3.0 and USE="mmx" |
25 |
use mmx &&\ |
26 |
if $(version_is_at_least "4.3.0" "$(gcc-fullversion)" ); then |
27 |
append-flags "-flax-vector-conversions" |
28 |
fi |
29 |
|
23 |
econf $(use_enable mmx) |
30 |
econf $(use_enable mmx) |
24 |
emake || die "emake failed." |
31 |
emake || die "emake failed." |
25 |
} |
32 |
} |
26 |
|
33 |
|
27 |
src_install() { |
34 |
src_install() { |