summaryrefslogtreecommitdiff
blob: 9161d2c25731859312036ac8bd1d0de853551af6 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# 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.5 2003/02/28 13:18:14 liquidx Exp $

DESCRIPTION="This is a compatability 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 "

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"
}