Lines 3-9
Link Here
|
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/bpmdetect/bpmdetect-0.6.1.ebuild,v 1.2 2009/06/03 19:37:07 ssuominen Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/bpmdetect/bpmdetect-0.6.1.ebuild,v 1.2 2009/06/03 19:37:07 ssuominen Exp $ |
4 |
|
4 |
|
5 |
EAPI=2 |
5 |
EAPI=2 |
6 |
inherit eutils multilib |
6 |
inherit eutils multilib toolchain-funcs |
7 |
|
7 |
|
8 |
DESCRIPTION="Automatic BPM detection utility" |
8 |
DESCRIPTION="Automatic BPM detection utility" |
9 |
HOMEPAGE="http://sourceforge.net/projects/bpmdetect" |
9 |
HOMEPAGE="http://sourceforge.net/projects/bpmdetect" |
Lines 27-38
Link Here
|
27 |
|
27 |
|
28 |
src_prepare() { |
28 |
src_prepare() { |
29 |
epatch "${FILESDIR}"/${P}-gcc44_and_fmodex_path.patch |
29 |
epatch "${FILESDIR}"/${P}-gcc44_and_fmodex_path.patch |
30 |
sed -i -e "s:-O2:${CXXFLAGS}:" src/SConscript || die "sed failed" |
30 |
epatch "${FILESDIR}"/${P}-SConscript.patch |
31 |
} |
31 |
} |
32 |
|
32 |
|
33 |
src_configure() { :; } |
33 |
src_configure() { :; } |
34 |
|
34 |
|
35 |
src_compile() { |
35 |
src_compile() { |
|
|
36 |
tc-export CC CXX |
36 |
export QTDIR="/usr/$(get_libdir)" |
37 |
export QTDIR="/usr/$(get_libdir)" |
37 |
scons prefix=/usr || die "scons failed" |
38 |
scons prefix=/usr || die "scons failed" |
38 |
} |
39 |
} |