1 |
# Copyright 1999-2012 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-compat/emul-linux-x86-compat-20121028.ebuild,v 1.1 2012/10/28 11:17:37 pacho Exp $ |
4 |
|
5 |
EAPI="4" |
6 |
inherit emul-linux-x86 eutils multilib |
7 |
|
8 |
DESCRIPTION="32 bit lib-compat, and also libgcc_s and libstdc++ from gcc 3.3 and 3.4 for non-multilib systems" |
9 |
|
10 |
LICENSE="GPL-2" |
11 |
SLOT="0" |
12 |
KEYWORDS="-* amd64" |
13 |
IUSE="multilib" |
14 |
|
15 |
DEPEND="" |
16 |
RDEPEND="multilib? ( sys-libs/libstdc++-v3 )" |
17 |
|
18 |
src_prepare() { |
19 |
emul-linux-x86_src_prepare |
20 |
if has_multilib_profile ; then |
21 |
rm -rf "${S}/usr/lib32/libstdc++.so.5.0.7" \ |
22 |
"${S}/usr/lib32/libstdc++.so.5" || die |
23 |
fi |
24 |
} |
25 |
|
26 |
src_install() { |
27 |
emul-linux-x86_src_install |
28 |
doenvd "${FILESDIR}/99libstdc++32" |
29 |
} |