blob: 9be880f3d40ea625f9ff8ee8df3fc24235df5196 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2007 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-1.0-r3.ebuild,v 1.3 2007/01/30 20:31:05 cardoe Exp $
DESCRIPTION="emul-linux-x86 version of lib-compat, with the addition of a 32bit libgcc_s and the libstdc++ versions provided by gcc 3.3 and 3.4 for non-multilib systems."
HOMEPAGE="http://www.gentoo.org/"
SRC_URI="mirror://gentoo/emul-linux-x86-compat-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64"
IUSE=""
RESTRICT="nostrip"
S=${WORKDIR}
src_unpack() {
unpack ${A}
cd "${S}"
mkdir usr
mv emul/linux/x86/usr/lib usr/lib32 || die
rm emul/linux/x86/usr/lib32 || die
rmdir emul/linux/x86/usr emul/linux/x86 emul/linux emul || die
rm usr/lib32/libsmpeg* || die
rm usr/lib32/libstdc++.so.6* || die "See bug #160335"
if has_version =sys-devel/gcc-3.3*; then
rm usr/lib32/libstdc++.so.5* || die "See bug #160335"
fi
}
src_install() {
cp -a "${WORKDIR}"/* "${D}"/ || die
}
|