/[gentoo-x86]/dev-lang/icc/icc-10.0.026.ebuild
Gentoo

Diff of /dev-lang/icc/icc-10.0.026.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
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: /var/cvsroot/gentoo-x86/dev-lang/icc/Attic/icc-10.0.026.ebuild,v 1.1 2007/10/02 11:36:23 bicatali Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/Attic/icc-10.0.026.ebuild,v 1.2 2007/10/02 17:05:26 bicatali Exp $
4 4
5inherit rpm 5inherit rpm
6 6
7PID=786 7PID=786
8PB=cc 8PB=cc
9PEXEC=icc 9PEXEC="icc icpc"
10DESCRIPTION="Intel C/C++ optimized compiler for Linux" 10DESCRIPTION="Intel C/C++ optimized compiler for Linux"
11HOMEPAGE="http://www.intel.com/software/products/compilers/clin/" 11HOMEPAGE="http://www.intel.com/software/products/compilers/clin/"
12 12
13### 13###
14# everything below common to ifc and icc 14# everything below common to ifc and icc
24SLOT="0" 24SLOT="0"
25 25
26RESTRICT="test strip mirror" 26RESTRICT="test strip mirror"
27IUSE="" 27IUSE=""
28DEPEND="" 28DEPEND=""
29RDEPEND="amd64? ( app-emulation/emul-linux-x86-compat )"
29 30
30src_unpack() { 31src_unpack() {
31 unpack ${A} 32 unpack ${A}
32 mv "${WORKDIR}"/l_* "${S}" 33 mv "${WORKDIR}"/l_* "${S}"
33 cd "${S}" 34 cd "${S}"
45 done 46 done
46 47
47 einfo "Fixing paths and tagging" 48 einfo "Fixing paths and tagging"
48 cd "${S}"/${INSTALL_DIR}/bin 49 cd "${S}"/${INSTALL_DIR}/bin
49 sed -e "s|<INSTALLDIR>|${INSTALL_DIR}|g" \ 50 sed -e "s|<INSTALLDIR>|${INSTALL_DIR}|g" \
50 -i ${PEXEC} ${PEXEC}*sh \ 51 -i ${PEXEC} *sh \
51 || die "sed fixing path failed" 52 || die "sed fixing path failed"
52 53
53 cd "${S}"/${INSTALL_DIR}/doc 54 cd "${S}"/${INSTALL_DIR}/doc
54 sed -e "s|\<installpackageid\>|${PACKAGEID}|g" \ 55 sed -e "s|\<installpackageid\>|${PACKAGEID}|g" \
55 -e "s|\<INSTALLTIMECOMBOPACKAGEID\>|${PACKAGEID}|g" \ 56 -e "s|\<INSTALLTIMECOMBOPACKAGEID\>|${PACKAGEID}|g" \

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20