Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 23179 | Differences between
and this patch

Collapse All | Expand All

(-)icc-7.1.006.ebuild (-13 / +14 lines)
Lines 2-7 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /home/cvsroot/gentoo-x86/dev-lang/icc/icc-7.1.006.ebuild,v 1.3 2003/05/26 01:19:11 avenj Exp $
3
# $Header: /home/cvsroot/gentoo-x86/dev-lang/icc/icc-7.1.006.ebuild,v 1.3 2003/05/26 01:19:11 avenj Exp $
4
4
5
inherit rpm
6
5
S=${WORKDIR}
7
S=${WORKDIR}
6
8
7
DESCRIPTION="Intel C++ Compiler - Intel's Pentium optimized compiler for Linux"
9
DESCRIPTION="Intel C++ Compiler - Intel's Pentium optimized compiler for Linux"
Lines 15-23 Link Here
15
LICENSE="icc-7.0"
17
LICENSE="icc-7.0"
16
18
17
DEPEND="virtual/linux-sources
19
DEPEND="virtual/linux-sources
18
		>=sys-libs/glibc-2.2.5
20
		>=sys-libs/glibc-2.2.5"
19
		sys-apps/cpio
20
		app-arch/rpm"
21
21
22
RDEPEND="virtual/linux-sources
22
RDEPEND="virtual/linux-sources
23
		>=sys-libs/glibc-2.2.4"
23
		>=sys-libs/glibc-2.2.4"
Lines 28-45 Link Here
28
28
29
RESTRICT="nostrip"
29
RESTRICT="nostrip"
30
30
31
src_compile() {
31
src_unpack() {
32
	unpack "${A}"
33
	cd "${S}"
32
	# Keep disk space to a minimum
34
	# Keep disk space to a minimum
33
	rm -f intel-*.ia64.rpm
35
	rm -f intel-*.ia64.rpm
34
36
	rpm_unpack intel-*.i386.rpm
35
	mkdir opt
37
}
36
38
	
37
	for x in intel-*.i386.rpm
39
src_compile() {
38
	do
39
		einfo "Extracting: ${x}"
40
		rpm2cpio ${x} | cpio --extract --make-directories --unconditional
41
	done
42
43
	# From UNTAG_CFG_FILES in 'install'
40
	# From UNTAG_CFG_FILES in 'install'
44
	SD=${S}/opt/intel # Build DESTINATION
41
	SD=${S}/opt/intel # Build DESTINATION
45
	RD=/opt/intel # Real DESTINATION
42
	RD=/opt/intel # Real DESTINATION
Lines 60-65 Link Here
60
		mv $SUPPORTFILE.abs $SUPPORTFILE
57
		mv $SUPPORTFILE.abs $SUPPORTFILE
61
		chmod 644 $SUPPORTFILE
58
		chmod 644 $SUPPORTFILE
62
	done
59
	done
60
61
	# these should not be executable
62
	find "${SD}/compiler70/"{docs,man,training,ia32/include} -type f -exec chmod -x "{}" ";"
63
	find "${SD}/compiler70/ia32/lib" -name \*.a -exec chmod -x "{}" ";"
63
}
64
}
64
65
65
src_install () {
66
src_install () {

Return to bug 23179