diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2015-03-12 02:07:20 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2015-03-12 02:07:20 +0200 |
commit | e1ce0ed385f1d35a289e6d9f07cf2ddbd36e5385 (patch) | |
tree | 98c34f85ea7a193c674b14acedafeb250a48bd98 /app-emulation/emul-linux-x86-compat/emul-linux-x86-compat-20140406.ebuild | |
parent | 8af47688c1307301f5073e34f3cdbb9f37d4173e (diff) |
Maintaing emul-linux-x86-compat
Diffstat (limited to 'app-emulation/emul-linux-x86-compat/emul-linux-x86-compat-20140406.ebuild')
-rw-r--r-- | app-emulation/emul-linux-x86-compat/emul-linux-x86-compat-20140406.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app-emulation/emul-linux-x86-compat/emul-linux-x86-compat-20140406.ebuild b/app-emulation/emul-linux-x86-compat/emul-linux-x86-compat-20140406.ebuild new file mode 100644 index 00000000..65c715b1 --- /dev/null +++ b/app-emulation/emul-linux-x86-compat/emul-linux-x86-compat-20140406.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-compat/emul-linux-x86-compat-20140406.ebuild,v 1.2 2014/05/04 12:22:28 pacho Exp $ + +EAPI=5 +inherit emul-linux-x86 eutils multilib + +DESCRIPTION="32 bit lib-compat, and also libgcc_s and libstdc++ from gcc 3.3 and 3.4 for non-multilib systems" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* amd64" +IUSE="multilib" + +DEPEND="" +RDEPEND="multilib? ( sys-libs/libstdc++-v3[multilib] )" + +src_prepare() { + emul-linux-x86_src_prepare + if use multilib ; then + rm -rf "${S}/usr/lib32/libstdc++.so.5.0.7" \ + "${S}/usr/lib32/libstdc++.so.5" || die + fi +} + +src_install() { + emul-linux-x86_src_install + doenvd "${FILESDIR}/99libstdc++32" +} |