summaryrefslogtreecommitdiff
blob: cf54bdf2962f8116d18fc29890bccb9d398e84e9 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/lib-compat/lib-compat-1.4.2-r1.ebuild,v 1.2 2014/09/07 10:34:26 ulm Exp $

EAPI=5

DESCRIPTION="Compatibility C++ and libc5 and libc6 libraries for very old programs"
HOMEPAGE="http://www.gentoo.org/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="!<=app-emulation/emul-linux-x86-compat-20140508"

src_install() {
	if use amd64 || use x86; then
		cd x86 || die
		ABI=x86
		into /
		dolib.so ld-linux.so.1*
		rm -f ld-linux.so.1*
	#elif use alpha; then
	#	cd alpha || die
	else
		die "arch not supported"
	fi
	into /usr
	dolib.so *.so*
}