summaryrefslogtreecommitdiff
blob: 89810f5780e11b6d1a93305e333f95768bac3aa3 (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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-compat/gcc-compat-1.4.ebuild,v 1.8 2004/08/08 00:42:18 slarti Exp $

DESCRIPTION="This is a compatibility layer for use when upgrading to profile $PV"
HOMEPAGE="http://www.gentoo.org"
SRC_URI=""
LICENSE="GPL-2"

# Only ONE version of this should exist on a system
# This is ABSOLUTELY Machine non-specific
SLOT="0"
KEYWORDS="x86 ppc sparc "
IUSE=""

DEPEND=""
RDEPEND=""

# DON'T STRIP THE LIBS!
RESTRICT="nostrip"

src_compile() {
	echo -ne ""
}

src_install () {
	cd $ROOT || die "Failed to chdir to root: $ROOT"
	tar cvf ${WORKDIR}/gcc-libs.tar $(find /usr/lib/gcc-lib/ -type f -name '*.so*') || die "failed to create tarball"
	cd ${D} || die "failed to enter \$D: $D"
	tar -mxvf ${WORKDIR}/gcc-libs.tar || die "failed to extract tarball"
}