Lines 2-9
Link Here
|
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-plugins/vco-plugins/vco-plugins-0.3.0.ebuild,v 1.6 2007/11/18 18:11:56 aballier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vco-plugins/vco-plugins-0.3.0.ebuild,v 1.6 2007/11/18 18:11:56 aballier Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI="2" |
6 |
|
5 |
inherit multilib toolchain-funcs |
7 |
inherit multilib toolchain-funcs |
6 |
|
8 |
|
|
|
9 |
|
7 |
IUSE="" |
10 |
IUSE="" |
8 |
# |
11 |
# |
9 |
MY_P=${P/vco/VCO} |
12 |
MY_P=${P/vco/VCO} |
Lines 19-29
Link Here
|
19 |
|
22 |
|
20 |
S=${WORKDIR}/${MY_P} |
23 |
S=${WORKDIR}/${MY_P} |
21 |
|
24 |
|
22 |
src_compile() { |
25 |
src_configure(){ |
23 |
tc-export CXX |
26 |
tc-export CXX |
24 |
sed -i -e "s/-O3//" Makefile |
27 |
sed -i Makefile -e "s/-O3//" \ |
25 |
sed -i -e "s/g++/$(tc-getCXX)/" Makefile |
28 |
-e "s/g++/$(tc-getCXX) ${LDFLAGS}/" || die "sed Makefile failed" |
26 |
emake || die |
|
|
27 |
} |
29 |
} |
28 |
|
30 |
|
29 |
src_install() { |
31 |
src_install() { |