Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-lang/icc
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.60 2008/03/13 21:25:25 bicatali Exp $
*icc-10.1.013 (13 Mar 2008)
13 Mar 2008; Sébastien Fabbro
Version bump
26 Feb 2008; Sébastien Fabbro
Removing incompatible version with gcc (see bug #201596)
*icc-10.1.012 (01 Feb 2008)
01 Feb 2008; Sébastien Fabbro
Version bump
25 Dec 2007; Christian Heim
Fixing the unsigned Manifest.
25 Dec 2007; Christian Heim
Removing karltk from metadata.xml as per #200332.
24 Dec 2007; Raúl Porcel
icc-10.1.008.ebuild:
Re-add ia64
05 Dec 2007; Raúl Porcel
icc-10.1.008.ebuild:
Drop ia64 keyword because gcc-3.3.2-r7 is missing
25 Nov 2007; Sébastien Fabbro
icc-10.1.008.ebuild:
Added eutils
*icc-10.1.008 (15 Nov 2007)
15 Nov 2007; Sébastien Fabbro
-files/7.1.006/05icc-ifc-ia32, -files/7.1.006/05icc-ifc-ia64,
-files/7.1.006/icc-ia32, -files/7.1.029/05icc-ifc-ia32,
-files/7.1.029/05icc-ifc-ia64, -files/7.1.029/icc-ia32,
-files/8.0.055/05icc-ifc, -files/8.0.055/icc, -files/8.0.055/iccifc.conf,
-files/8.0.055/icpc, -files/8.1.028/05icc-ifc, -files/8.1.028/icc,
-files/8.1.028/iccifc.conf, -files/8.1.028/icpc, -files/9.0.021/05icc-ifc,
-files/9.0.021/icc, -files/9.0.021/iccifc.conf, -files/9.0.021/icpc,
-files/9.1.042/05icc-ifc, -files/9.1.042/icc, -files/9.1.042/icpc,
-files/9.1.045/05icc-ifc, -files/9.1.045/icc, -files/9.1.045/icpc,
-icc-9.1.045.ebuild, icc-10.0.026.ebuild, +icc-10.1.008.ebuild:
Version bump, removed old release, removed INCLUDE env variable.
08 Nov 2007; Raúl Porcel
ia64 stable wrt #197980
08 Nov 2007; Sébastien Fabbro
removed bash specific 'export -n' in script execs.
08 Nov 2007; Christoph Mende
Stable on amd64 wrt bug #197980
07 Nov 2007; Christian Faulhammer
stable x86, bug 197980
06 Nov 2007; Sébastien Fabbro
Added a comment if previous version installed.
06 Nov 2007; Sébastien Fabbro
Disabling slots in 9.*
05 Oct 2007; Sébastien Fabbro
added virtual/libstdc++ as a dep for all arches, closing bug #194728.
02 Oct 2007; Sébastien Fabbro
Fixed icpc INSTALL_DIR (bug #194513) and added emul-linux-x86-compat as run
dependency.
*icc-10.0.026 (02 Oct 2007)
02 Oct 2007; Sébastien Fabbro
+icc-10.0.026.ebuild:
Version bump. Restructured ebuild with newer package. Debugger now in
dev-lang/idb. Added myself as maintainer and added longdescription.
02 Jul 2007; Piotr Jaroszyński
(QA) RESTRICT clean up.
28 Apr 2007; Sven Wegener
Fix *initd, *confd and *envd calls (#17388, #174266)
28 Mar 2007; Raúl Porcel
ia64 stable wrt bug 169468
06 Mar 2007; Christian Faulhammer
stable x86; bug 169468
05 Mar 2007; Caleb Tennis
-files/7.0.065-r1/icc, -files/7.0.065-r2/05icc-ifc, -files/7.0.065-r2/icc,
-files/7.0.065/icc, -files/9.0.023/05icc-ifc, -files/9.0.023/icc,
-files/9.0.023/iccifc.conf, -files/9.0.023/icpc, -files/9.0.030/05icc-ifc,
-files/9.0.030/icc, -files/9.0.030/icpc, -files/9.1.044/05icc-ifc,
-files/9.1.044/icc, -files/6.0-r1/05icc-ifc, -files/6.0/05icc,
-files/7.0.065/05icc-ifc, -files/9.1.044/icpc, -icc-6.0.ebuild,
-icc-6.0-r1.ebuild, -icc-7.0.065.ebuild, -icc-7.0.065-r1.ebuild,
-icc-7.0.065-r2.ebuild, -icc-7.1.006.ebuild, -icc-7.1.029.ebuild,
-icc-7.1.030.ebuild, -icc-8.0.055.ebuild, -icc-8.1.028.ebuild,
-icc-9.0.021.ebuild, -icc-9.0.023.ebuild, -icc-9.0.030.ebuild,
-icc-9.1.042.ebuild, -icc-9.1.044.ebuild:
removing more versions
05 Mar 2007; Caleb Tennis
-files/7.0.065-r1/icc, -files/7.0.065-r2/05icc-ifc,
-files/6.0-r1/05icc-ifc, -files/7.0.065-r2/icc, -files/7.0.065/05icc-ifc,
-files/6.0/05icc, -files/7.0.065/icc, -icc-6.0.ebuild, -icc-6.0-r1.ebuild,
-icc-7.0.065.ebuild, -icc-7.0.065-r1.ebuild, -icc-7.0.065-r2.ebuild,
-icc-9.0.023.ebuild:
removing other old package masked versions
05 Mar 2007; Caleb Tennis
removing an old masked version
01 Jan 2007; Timothy Redaelli
Added virtual/libstdc++ to RDEPENDS, acknowledged by Kugelfang.
*icc-9.1.045 (16 Nov 2006)
16 Nov 2006; Donnie Berkholz
+files/9.1.045/05icc-ifc, +files/9.1.045/icc, +files/9.1.045/icpc,
+icc-9.1.045.ebuild:
Bump again.
*icc-9.1.044 (14 Nov 2006)
14 Nov 2006; Matthew Snelham
+files/9.1.044/icc, +files/9.1.044/icpc, +icc-9.1.044.ebuild:
Version bump. Added pkg_nofetch, closes #66514
*icc-9.1.042 (28 Aug 2006)
28 Aug 2006; Donnie Berkholz
+files/9.1.042/05icc-ifc, +files/9.1.042/icc, +files/9.1.042/icpc,
+icc-9.1.042.ebuild:
Bump to latest noncommercial version. Attempt to remove most hardcoded
versions from ebuild, although some still exist in filesdir.
*icc-9.0.030 (05 Jun 2006)
05 Jun 2006; Donnie Berkholz
+files/9.0.030/05icc-ifc, +files/9.0.030/icc, +files/9.0.030/icpc,
+icc-9.0.030.ebuild:
New public version.
16 Dec 2005; Diego Pettenò
Remove GNUish cp -a call. Bug #103487.
30 Jul 2005; Karl Trygve Kalleberg
-m Regened digest. Fixed a few minor details. Fixes #100757.
*icc-8.1.028 (24 Jul 2005)
24 Jul 2005; Karl Trygve Kalleberg
+files/8.1.028/icpc, -files/8.1.030/05icc-ifc, -files/8.1.030/icc,
-files/8.1.030/iccifc.conf, -files/8.1.030/icpc, +files/8.1.028/05icc-ifc,
+files/8.1.028/icc, +files/8.1.028/iccifc.conf, -files/8.1.032/05icc-ifc,
-files/8.1.032/icc, -files/8.1.032/iccifc.conf, -files/8.1.032/icpc,
+icc-8.1.028.ebuild, -icc-8.1.030.ebuild, -icc-8.1.032.ebuild:
Removed unavailable 8.1.x versions, added the publicly available
8.1.028 version.
*icc-9.0.021 (05 Jul 2005)
05 Jul 2005; Karl Trygve Kalleberg
+files/9.0.021/05icc-ifc, +files/9.0.021/iccifc.conf, +files/9.0.021/icc,
+files/9.0.021/icpc, +icc-9.0.021.ebuild:
Old upstream release. But this one is generally available.
04 Jul 2005; Danny van Dyk
Fixed to work on amd64 and marked accordingly.
*icc-9.0.023 (04 Jul 2005)
04 Jul 2005; Karl Trygve Kalleberg
+files/9.0.023/05icc-ifc, +files/9.0.023/iccifc.conf, +files/9.0.023/icpc,
+icc-9.0.023.ebuild:
New upstream release. Tip of the hat to Ed Presutti
even though I didn't take his patch. Fixes #96741.
*icc-8.1.032 (31 May 2005)
31 May 2005; Karl Trygve Kalleberg
files/8.1.030/05icc-ifc, files/8.1.030/icpc, files/8.1.030/icc,
+files/8.1.032/05icc-ifc, +files/8.1.032/icc, +files/8.1.032/iccifc.conf,
+files/8.1.032/icpc, icc-8.1.030.ebuild, +icc-8.1.032.ebuild:
New upstream release. Minor path modifications to script files and
old 8.1.x ebuilds: 8.1 now lives in /opt/intel/compiler81
*icc-8.1.030 (26 May 2005)
26 May 2005; Karl Trygve Kalleberg
+files/8.1.030/05icc-ifc, +files/8.1.030/iccifc.conf, +files/8.1.030/icpc,
+icc-8.1.030.ebuild:
New upstream release.
*icc-8.0.055 (07 Feb 2004)
13 May 2004; Thomas Veith
Added DEPEND to sys-libs/lib-compat, bug 48350
07 Feb 2004; Daniel Robbins
New ebuild, partially rewritten from bug #35602. This ebuild is still
"iffy" and needs some work as I'm trying to get back to the rpm eclass
but haven't incorporated fixes from the most recent ebuild submission
on bugzilla. Thanks to Jeremy Warren for this ebuild as well as
everyone who helped.
15 Oct 2003; Jon Portnoy
Fix rpm_unpack call again.
*icc-7.1.030 (13 Oct 2003)
13 May 2004; Thomas Veith
Added DEPEND to sys-libs/lib-compat, bug 48350
13 Oct 2003; Daniel Robbins
New icc version for people with a premier.intel.com account. ~ on
x86 and ia64.
24 Sep 2003; Jon Portnoy
Fix rpm_unpack call, bug 29484.
18 Sep 2003; Jon Portnoy
icc-7.1.029.ebuild :
_Much_ faster unpacking thanks to rpm.eclass and Georgi Georgiev.
See bug 23179 for more information.
*icc-7.1.029 (18 Sep 2003)
13 May 2004; Thomas Veith
Added DEPEND to sys-libs/lib-compat, bug 48350
18 Sep 2003; Daniel Robbins
new version marked stable for ia64, unstable for x86. ia64 support
integrated into this ebuild. Also switched to slower rpm2targz simply
because it doesn't require "rpm" to be merged.
*icc-7.1.006 (11 April 2003)
13 May 2004; Thomas Veith
Added DEPEND to sys-libs/lib-compat, bug 48350
11 April 2003; Jon Portnoy
Version bump.
25 May 2003; Jon Portnoy
Added icpc wrapper.
*icc-7.0.065-r2 (20 Dec 2002)
20 Dec 2002; Jon Portnoy
Fixed 05icc-ifc to include INTEL_LICENSE_FILE. Bug found by Zadeh
(garen@garen.net).
*icc-7.0.065-r1 (11 Dec 2002)
11 Dec 2002; Jon Portnoy
Changed the "icc" wrapper script to properly translate gcc CFLAGS into
icc CFLAGS.
*icc-7.0.065 (10 Dec 2002)
10 Dec 2002; Jon Portnoy
Changed the naming to more accurately reflect the current ICC
version number. Also fixed the primary executable and added a warning
about compiling important applications with icc.
8 Dec 2002 Jon Portnoy
Added a warning about the behavior of the main executable.
'icc' will return errors; 'iccbin' works fine.
Fixed the warning messages to fit a standard terminal.
Fixed the old version checking statement to avoid matching
the current version.
5 Dec 2002 William McArthur
Included some improvments from Jon Portnoy from http://bugs.gentoo.org/show_bug.cgi?id=11211
*icc-7.0
25 Nov 2002 William McArthur
Basicly just updated the icc-6.0-r1 with new urls and changed the message at the end.
*icc-6.0-r1 (13 May 2002)
13 May 2002 William McArthur
Fixed a problem where I missed a place a file needs to be sed'ed during the
install. Change 05icc to 05icc-ifc because both the icc-6 and ifc-6 packages
used the same env info and I didn't want duplicate data.
*icc-6.0 (24 Apr 2002)
24 Apr 2002 William McArthur
The icc-6.0.ebuild is functionally identical to the icc-5.0.1.ebuild . A few
tweaks were made for the minor differeces in Intel's package.
*icc-5.0.1 (12 Apr 2002)
12 Apr 2002; William McArthur
Initial Gentoo package. The install from Intel is RPM based so I extract
the i386 RPMs manually using rpm2cpio and cpio. (Idea taken from the
realplayer ebuild) Other than running rpm for you the install script just
replaces some stings in a few files with sed, so I copied and mangled the
relavent lines from their install and use them. I also correct a typo
descriped on Intel's web site. This fix should be removed at next icc upgrade.
The install is a simple copy and adding one file to /etc/env.d to set up a few
enviroment settings icc needs. After the package is merged I inform the user
where to get a license key and where to put it.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
DIST l_cc_c_10.0.026_ia32.tar.gz 41278910 RMD160 7c2046d1c8bfbf98639c4cc1d77db0ccf5fd5637 SHA1 b44fdb3f91df847b03307b96256ea83252983432 SHA256 36258784fba6550a117b30e9bfd48d414d8986b95e802191be0b37005eedc0f6
DIST l_cc_c_10.0.026_ia64.tar.gz 64662221 RMD160 51601383678f759979a2c9d456102e28a9d017bf SHA1 2f71ffe6fcb9d8a2bb8fe46bf82dc29382e5cdc5 SHA256 1d55e6040fef6c3e42725049c19ab80c506efff99b7810e04cc55731d0e31b19
DIST l_cc_c_10.0.026_intel64.tar.gz 36405579 RMD160 bcf8bec436ad4c9e91b35201e709491b197f6145 SHA1 9a39aee94d2cd67476a4aad198657c1333854676 SHA256 00ca4de9510e04c7d3f27590e21339d663d17b12b39ebc5153d9bd58e750128e
DIST l_cc_p_10.1.012_ia32.tar.gz 50689069 RMD160 fe5bcb1b8e7e676825e121dceffdad190ca2c0c0 SHA1 788532461cc84df2ce86abacdd4d95fdd3c7a9d3 SHA256 d6c57312bc810eaefdeff3f3692dc1a7226ae7db830149f26380a62c977713ec
DIST l_cc_p_10.1.012_ia64.tar.gz 72808124 RMD160 a9c1d25fcd49ff52dfa2f6fc8ad4989042604a68 SHA1 1b44e403d8c86391e434199d72332e8fbeb83ef0 SHA256 3e3fed8839e50d3d40578439c588e5d10c9e50198c562ff8530640b294e14a6e
DIST l_cc_p_10.1.012_intel64.tar.gz 40202063 RMD160 74ca25db81ce8c7946c08690cfe0041f39f25448 SHA1 207fdca014e468e30d771d6b5d9c7f1f27945bd2 SHA256 006fc0ebb380b304768d7c53ef8a477e2a4db61db63ca7e9b8b1ba72c296a4cb
DIST l_cc_p_10.1.013_ia32.tar.gz 50690142 RMD160 48f0edcc39de1cc45be03c9cb899cdd0d811812e SHA1 2f0f4f3d0c3e366bc33d89eb06f9eecd3622b977 SHA256 edd3ffa6f148ed54fd7b26109eb945516169e8a9daf09962a3a6919539d538d1
DIST l_cc_p_10.1.013_ia64.tar.gz 72808364 RMD160 1f8f746dc53d100a3ee4c86ba6de840d6d002d52 SHA1 f5ce8a610e2619e7264c8dcaf485c9950368c825 SHA256 0966dd401e8c641f944cb45ed03cfafbf7df14fdd4ba2100e6a5b6e9a1a9ed07
DIST l_cc_p_10.1.013_intel64.tar.gz 40204037 RMD160 499242587d2a02085f09dc2ea58c64d14c730b0e SHA1 7264106093727c1792423c1f166049b46285a394 SHA256 2aa519f5aaa1951c02e3e1fd51aac4b248221bd2ff32ebe82d6bdfa29a2813da
EBUILD icc-10.0.026.ebuild 3123 RMD160 15ad5fe75e3d346c17c3e56a409f80a7cf3d1ada SHA1 28314c5cb1785578b0762bd709063fcd0fda7c6c SHA256 986ea095638d8b66ee025af99eb0b0296a80b5c1bd7f29e0c2b9546717113f09
EBUILD icc-10.1.012.ebuild 2625 RMD160 ef063ffde5a8884a5edfd91a90750cea8ef28df8 SHA1 ecfb2ad0a2407392cdc4c1399b21eb1981e0182b SHA256 c136596e57a5d89761ee2b1f736aac0d827fa70ccd22da5415c90961b38a25af
EBUILD icc-10.1.013.ebuild 2852 RMD160 b2ea6acbbedc0cd19ce0c0f15694527e45999c76 SHA1 f2c1f5b06b27241869e68a007017df76d2124563 SHA256 dd2175a032c7fefc343a5c7a86dea966f58e91e1d7ba9bfe58043f2775cf94b6
MISC ChangeLog 12828 RMD160 3f9d5d017287f436294d2fafcb603e2f9a825405 SHA1 a07f22bdcb572fcd409163c33a820b848d13b536 SHA256 5a3a9065a6466eea8e52dd81c3c4465d104361f7912ead175cf1d3e1b12bfa0d
MISC metadata.xml 691 RMD160 88ccdebd0a4ae8feb2ae82d8aaf890859da245b4 SHA1 03e1409b044aeace78453837f794cf7e65df1ed1 SHA256 9d137d042eb138203681cfab942ed2ceefe794875330811bc4980a909b35b3e9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQFH2Zva1ycZbhPLE2ARAuhSAJ9+k9bS1csM6/Ggr+zOoODp2mCXkQCeIQ5l
e0j2z9q4pQkUTeDgRGfRTWU=
=qoe3
-----END PGP SIGNATURE-----
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-10.0.026.ebuild,v 1.12 2007/12/24 19:35:12 armin76 Exp $
inherit rpm eutils
PID=786
PB=cc
PEXEC="icc icpc"
DESCRIPTION="Intel C/C++ optimized compiler for Linux"
HOMEPAGE="http://www.intel.com/software/products/compilers/clin/"
###
# everything below common to ifc and icc
# no eclass: very likely to change for next versions
###
PACKAGEID="l_${PB}_c_${PV}"
KEYWORDS="amd64 ia64 x86"
SRC_URI="amd64? ( http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}_intel64.tar.gz )
ia64? ( http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}_ia64.tar.gz )
x86? ( http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}_ia32.tar.gz )"
LICENSE="Intel-SDP"
SLOT="0"
RESTRICT="test strip mirror"
IUSE=""
DEPEND=""
RDEPEND="virtual/libstdc++
amd64? ( app-emulation/emul-linux-x86-compat )"
pkg_setup() {
if has_version "
ewarn "This version has many bugs and was installed with slotting."
ewarn "You might want to do an emerge -C ${PN} first"
epause 10
fi
}
src_unpack() {
unpack ${A}
mv "${WORKDIR}"/l_* "${S}"
cd "${S}"
local ext=
use amd64 && ext=e
INSTALL_DIR=/opt/intel/${PB}${ext}/${PV}
# debugger installed with dev-lang/idb
rm -f data/intel*idb*.rpm
for x in data/intel*.rpm; do
einfo "Extracting $(basename ${x})..."
rpm_unpack "${S}/${x}" || die "rpm_unpack ${x} failed"
done
einfo "Fixing paths and tagging"
cd "${S}"/${INSTALL_DIR}/bin
sed -e "s|
-e 's|export -n IA32ROOT;||g' \
-i ${PEXEC} *sh \
|| die "sed fixing shells and paths failed"
cd "${S}"/${INSTALL_DIR}/doc
sed -e "s|\
-e "s|\
-i *support \
|| die "sed support file failed"
chmod 644 *support
}
src_install() {
einfo "Copying files"
dodir ${INSTALL_DIR}
cp -pPR \
"${S}"/${INSTALL_DIR}/* \
"${D}"/${INSTALL_DIR}/ \
|| die "copying ${PN} failed"
local env_file=05${PN}
echo "PATH=${INSTALL_DIR}/bin" > ${env_file}
echo "ROOTPATH=${INSTALL_DIR}/bin" >> ${env_file}
echo "LDPATH=${INSTALL_DIR}/lib" >> ${env_file}
echo "MANPATH=${INSTALL_DIR}/man" >> ${env_file}
doenvd ${env_file} || die "doenvd ${env_file} failed"
}
pkg_postinst () {
# remove left over from unpacking
rm -f "${ROOT}"/opt/intel/{intel_sdp_products.db,.*.log} || die "remove logs failed"
elog "Make sure you have recieved the a license for ${PN}"
elog "To receive a restrictive non-commercial licenses , you need to register at:"
elog "http://www.intel.com/cd/software/products/asmo-na/eng/download/download/219771.htm"
elog "Read the website for more information on this license."
elog "You cannot run ${PN} without a license file."
elog "Then put the license file into ${ROOT}/opt/intel/licenses"
elog "\nTo use ${PN} issue first \n\tsource /etc/profile"
elog "Debugger is installed with dev-lang/idb"
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-10.1.012.ebuild,v 1.1 2008/02/01 19:28:57 bicatali Exp $
inherit rpm eutils
PID=952
PB=cc
PEXEC="icc icpc"
DESCRIPTION="Intel C/C++ optimized compiler for Linux"
HOMEPAGE="http://www.intel.com/software/products/compilers/clin/"
###
# everything below common to ifc and icc
# no eclass: very likely to change for next versions
###
PACKID="l_${PB}_p_${PV}"
KEYWORDS="~amd64 ~ia64 ~x86"
SRC_COM="http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKID}"
SRC_URI="amd64? ( ${SRC_COM}_intel64.tar.gz )
ia64? ( ${SRC_COM}_ia64.tar.gz )
x86? ( ${SRC_COM}_ia32.tar.gz )"
LICENSE="Intel-SDP"
SLOT="0"
RESTRICT="test strip mirror"
IUSE=""
DEPEND=""
RDEPEND="virtual/libstdc++
amd64? ( app-emulation/emul-linux-x86-compat )"
src_unpack() {
unpack ${A}
mv "${WORKDIR}"/l_* "${S}"
cd "${S}"
local ext=
use amd64 && ext=e
INSTALL_DIR=/opt/intel/${PB}${ext}/${PV}
# debugger installed with dev-lang/idb
rm -f data/intel*idb*.rpm
for x in data/intel*.rpm; do
einfo "Extracting $(basename ${x})..."
rpm_unpack "${S}/${x}" || die "rpm_unpack ${x} failed"
done
einfo "Fixing paths and tagging"
cd "${S}"/${INSTALL_DIR}/bin
sed -e "s|
-e 's|export -n IA32ROOT;||g' \
-i ${PEXEC} *sh \
|| die "sed fixing shells and paths failed"
cd "${S}"/${INSTALL_DIR}/doc
sed -e "s|\
-e "s|\
-i *support \
|| die "sed support file failed"
chmod 644 *support
}
src_install() {
einfo "Copying files"
dodir ${INSTALL_DIR}
cp -pPR \
"${S}"/${INSTALL_DIR}/* \
"${D}"/${INSTALL_DIR}/ \
|| die "Copying ${PN} failed"
local env_file=05${PN}
cat > ${env_file} <<-EOF
PATH=${INSTALL_DIR}/bin
ROOTPATH=${INSTALL_DIR}/bin
LDPATH=${INSTALL_DIR}/lib
MANPATH=${INSTALL_DIR}/man
EOF
doenvd ${env_file} || die "doenvd ${env_file} failed"
}
pkg_postinst () {
# remove left over from unpacking
rm -f "${ROOT}"/opt/intel/{intel_sdp_products.db,.*.log} \
|| die "remove logs failed"
elog "Make sure you have recieved the a license for ${PN},"
elog "you cannot run ${PN} without a license file."
elog "To receive a non-commercial license, you need to register."
elog "Read the website for more information on this license:"
elog "${HOMEPAGE}"
elog "Then put the license file into ${ROOT}/opt/intel/licenses."
elog "\nTo use ${PN} issue first \n\tsource /etc/profile"
elog "Debugger is installed with dev-lang/idb"
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-10.1.013.ebuild,v 1.1 2008/03/13 21:25:25 bicatali Exp $
inherit rpm eutils check-reqs
PID=964
PB=cc
PEXEC="icc icpc"
DESCRIPTION="Intel C/C++ optimized compiler for Linux"
HOMEPAGE="http://www.intel.com/software/products/compilers/clin/"
###
# everything below common to ifc and icc
# no eclass: very likely to change for next versions
###
PACKID="l_${PB}_p_${PV}"
KEYWORDS="~amd64 ~ia64 ~x86"
SRC_COM="http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKID}"
SRC_URI="amd64? ( ${SRC_COM}_intel64.tar.gz )
ia64? ( ${SRC_COM}_ia64.tar.gz )
x86? ( ${SRC_COM}_ia32.tar.gz )"
LICENSE="Intel-SDP"
SLOT="0"
RESTRICT="test strip mirror"
IUSE=""
DEPEND=""
RDEPEND="virtual/libstdc++
amd64? ( app-emulation/emul-linux-x86-compat )"
pkg_setup() {
# Check if we have enough RAM and free diskspace
CHECKREQS_MEMORY="512"
local disk_req="300"
use amd64 && disk_req="400"
use ia64 && disk_req="350"
CHECKREQS_DISK_BUILD=${disk_req}
check_reqs
}
src_unpack() {
unpack ${A}
mv "${WORKDIR}"/l_* "${S}"
cd "${S}"
local ext=
use amd64 && ext=e
INSTALL_DIR=/opt/intel/${PB}${ext}/${PV}
# debugger installed with dev-lang/idb
rm -f data/intel*idb*.rpm
for x in data/intel*.rpm; do
einfo "Extracting $(basename ${x})..."
rpm_unpack "${S}/${x}" || die "rpm_unpack ${x} failed"
done
einfo "Fixing paths and tagging"
cd "${S}"/${INSTALL_DIR}/bin
sed -e "s|
-e 's|export -n IA32ROOT;||g' \
-i ${PEXEC} *sh \
|| die "sed fixing shells and paths failed"
cd "${S}"/${INSTALL_DIR}/doc
sed -e "s|\
-e "s|\
-i *support \
|| die "sed support file failed"
chmod 644 *support
}
src_install() {
einfo "Copying files"
dodir ${INSTALL_DIR}
cp -pPR \
"${S}"/${INSTALL_DIR}/* \
"${D}"/${INSTALL_DIR}/ \
|| die "Copying ${PN} failed"
local env_file=05${PN}
cat > ${env_file} <<-EOF
PATH=${INSTALL_DIR}/bin
ROOTPATH=${INSTALL_DIR}/bin
LDPATH=${INSTALL_DIR}/lib
MANPATH=${INSTALL_DIR}/man
EOF
doenvd ${env_file} || die "doenvd ${env_file} failed"
}
pkg_postinst () {
# remove left over from unpacking
rm -f "${ROOT}"/opt/intel/{intel_sdp_products.db,.*.log} \
|| die "remove logs failed"
elog "Make sure you have recieved the a license for ${PN},"
elog "you cannot run ${PN} without a license file."
elog "To receive a non-commercial license, you need to register."
elog "Read the website for more information on this license:"
elog "${HOMEPAGE}"
elog "Then put the license file into ${ROOT}/opt/intel/licenses."
elog "\nTo use ${PN} issue first \n\tsource /etc/profile"
elog "Debugger is installed with dev-lang/idb"
}
The Intel® C++ Compiler is a full featured C/C++ compiler for Intel
based architectures. The compiler supports multi-threading, automatic
processor dispatch, vectorization, auto-parallelization, OpenMP, data
prefetching, loop unrolling. The package comes with extensive
documentation. The product can be installed as a non-commercial as
well. License, terms of qualifications can be found on the web site.