aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lang/icc/ChangeLog13
-rw-r--r--dev-lang/icc/Manifest6
-rw-r--r--dev-lang/icc/icc-12.0.2.137.ebuild29
-rw-r--r--dev-lang/icc/metadata.xml24
-rw-r--r--dev-lang/idb/ChangeLog11
-rw-r--r--dev-lang/idb/Manifest6
-rw-r--r--dev-lang/idb/idb-12.0.2.137.ebuild32
-rw-r--r--dev-lang/idb/metadata.xml21
-rw-r--r--dev-lang/ifc/ChangeLog11
-rw-r--r--dev-lang/ifc/Manifest6
-rw-r--r--dev-lang/ifc/ifc-12.0.2.137.ebuild30
-rw-r--r--dev-lang/ifc/metadata.xml15
-rw-r--r--dev-libs/intel-common/ChangeLog19
-rw-r--r--dev-libs/intel-common/Manifest6
-rw-r--r--dev-libs/intel-common/intel-common-12.0.2.137.ebuild59
-rw-r--r--dev-libs/intel-common/metadata.xml16
-rw-r--r--eclass/intel-sdp.eclass161
17 files changed, 465 insertions, 0 deletions
diff --git a/dev-lang/icc/ChangeLog b/dev-lang/icc/ChangeLog
new file mode 100644
index 000000000..9b7a22831
--- /dev/null
+++ b/dev-lang/icc/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for dev-lang/icc
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*icc-12.0.2.137 (23 Feb 2011)
+
+ 23 Feb 2011; Sébastien Fabbro <bicatali@gentoo.org> +icc-12.0.2.137.ebuild:
+ Bump
+
+ 03 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> icc-12.0.0.084.ebuild,
+ +metadata.xml:
+ Version bump and with newly factored ebuilds
+
diff --git a/dev-lang/icc/Manifest b/dev-lang/icc/Manifest
new file mode 100644
index 000000000..b2fdcbb19
--- /dev/null
+++ b/dev-lang/icc/Manifest
@@ -0,0 +1,6 @@
+DIST parallel_studio_xe_2011_update1.tgz 1560496278 RMD160 95e074e63c803a4a325edefeca6b03e8aff4ec42 SHA1 b5da44dd6d4ee7eba606b724f2350855facf27ad SHA256 ac6f29355881ab61ff9fbdb72923934a331a2bdd8a7856f6f3c207df8c4fa608
+DIST parallel_studio_xe_2011_update1_ia32.tgz 809416643 RMD160 2d22c4448b1bd6087b911aa7033401aa98693a59 SHA1 f0e2d17d818ff5cacb088d8df9eba986651aaeac SHA256 c14962999408913f4d9c614153047315b3f645fb340c98af7bc30c8b35ef85ec
+DIST parallel_studio_xe_2011_update1_intel64.tgz 958969597 RMD160 1b8839ead6abe50b30b59a2e57ef7b24bf3dcb66 SHA1 3bdf92e4e818390b41dda3962338481409dd4002 SHA256 2a76006134cb622e2d80bbd17a79454100c3a066228b82b4d27971252eea49a7
+EBUILD icc-12.0.2.137.ebuild 753 RMD160 efb8807f027af259f559115f44d3fba9cfcc2683 SHA1 0642315ef8c367be80705533c86b98d9d82150e7 SHA256 0473bd7a505b3e0226b995e8d1794312931bfc0752419e062d5b2c354623aa7b
+MISC ChangeLog 374 RMD160 b529a62d62e8fb5a14e07511e02c5b35ddaf3e12 SHA1 152d371d4f4a139d84d9606ff9237c47ed7c2229 SHA256 e5b822a4eb691923d7286b60a3f8eae8773b59d896d73f21054a1818a566429e
+MISC metadata.xml 878 RMD160 8980cf7636fbc8b2233b358dcc4256a898aa2115 SHA1 7cfca285bf0f850f0d59db426f2d0f5f2aa57f03 SHA256 7fe092e7a27932b2da02bccb30bc1776bf51c99bd3866e20502edd3f414562a1
diff --git a/dev-lang/icc/icc-12.0.2.137.ebuild b/dev-lang/icc/icc-12.0.2.137.ebuild
new file mode 100644
index 000000000..ec0f44c10
--- /dev/null
+++ b/dev-lang/icc/icc-12.0.2.137.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+INTEL_DPN=parallel_studio_xe
+INTEL_DID=2065
+INTEL_DPV=2011_update1
+INTEL_SUBDIR=composerxe
+
+inherit intel-sdp
+
+DESCRIPTION="Intel C/C++ Compiler"
+HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
+
+IUSE="eclipse"
+DEPEND="~dev-libs/intel-common-${PV}[compiler]"
+RDEPEND="${DEPEND}
+ eclipse? ( dev-util/eclipse-sdk )"
+
+QA_PREBUILT="
+ ${INTEL_SDP_DIR}/bin/*/*
+ ${INTEL_SDP_DIR}/compiler/lib/*/*
+ ${INTEL_SDP_DIR}/mpirt/bin/*/*
+ ${INTEL_SDP_DIR}/mpirt/lib/*/*"
+QA_PRESTRIPPED="${INTEL_SDP_DIR}/compiler/lib/*/.*libFNP.so"
+
+INTEL_BIN_RPMS="compilerproc compilerproc-devel"
+INTEL_DAT_RPMS="compilerproc-common"
diff --git a/dev-lang/icc/metadata.xml b/dev-lang/icc/metadata.xml
new file mode 100644
index 000000000..9d72f9fca
--- /dev/null
+++ b/dev-lang/icc/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>bicatali@gentoo.org</email>
+</maintainer>
+<maintainer>
+ <email>weaver@gentoo.org</email>
+ <name>Andrey Kislyuk</name>
+</maintainer>
+<longdescription lang="en">
+ 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.
+</longdescription>
+<use>
+ <flag name='eclipse'>Install the <pkg>dev-util/eclipse-sdk</pkg> plugins</flag>
+</use>
+</pkgmetadata>
diff --git a/dev-lang/idb/ChangeLog b/dev-lang/idb/ChangeLog
new file mode 100644
index 000000000..3f49a9b8a
--- /dev/null
+++ b/dev-lang/idb/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-lang/idb
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 23 Feb 2011; Sébastien Fabbro <bicatali@gentoo.org> idb-12.0.2.137.ebuild:
+ Bumped
+
+ 03 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> idb-12.0.0.084.ebuild,
+ +metadata.xml:
+ Version bump and with newly factored ebuilds
+
diff --git a/dev-lang/idb/Manifest b/dev-lang/idb/Manifest
new file mode 100644
index 000000000..66603202d
--- /dev/null
+++ b/dev-lang/idb/Manifest
@@ -0,0 +1,6 @@
+DIST parallel_studio_xe_2011_update1.tgz 1560496278 RMD160 95e074e63c803a4a325edefeca6b03e8aff4ec42 SHA1 b5da44dd6d4ee7eba606b724f2350855facf27ad SHA256 ac6f29355881ab61ff9fbdb72923934a331a2bdd8a7856f6f3c207df8c4fa608
+DIST parallel_studio_xe_2011_update1_ia32.tgz 809416643 RMD160 2d22c4448b1bd6087b911aa7033401aa98693a59 SHA1 f0e2d17d818ff5cacb088d8df9eba986651aaeac SHA256 c14962999408913f4d9c614153047315b3f645fb340c98af7bc30c8b35ef85ec
+DIST parallel_studio_xe_2011_update1_intel64.tgz 958969597 RMD160 1b8839ead6abe50b30b59a2e57ef7b24bf3dcb66 SHA1 3bdf92e4e818390b41dda3962338481409dd4002 SHA256 2a76006134cb622e2d80bbd17a79454100c3a066228b82b4d27971252eea49a7
+EBUILD idb-12.0.2.137.ebuild 710 RMD160 5686da0788dfd8d11eec4157b4f7dbe38fcca674 SHA1 a52bf454982330643f37c1e67717e0fc1f503461 SHA256 4d11a0f89feb55035c8cfd20f906cd39074c421ac1652f5d8e53d260f9310b22
+MISC ChangeLog 344 RMD160 37e28107e95ae02d77f33df6b8f8127a3cdd7da5 SHA1 6ec9a0b9562149f0e121f55374588b3f3db3c0f6 SHA256 f3d523b2d9b08ba1997fb15ebc8da1b5b48186d73a83b6fd0a54ba2d4edfb810
+MISC metadata.xml 863 RMD160 0ff16c975028a58dbc23732e81b5853389503398 SHA1 1d4a7acb3442ccb189098952ca03f428b81a03e3 SHA256 f96533122882b94115d3f44017dd907ddd179b829fe25ae640c1223c5001bc9c
diff --git a/dev-lang/idb/idb-12.0.2.137.ebuild b/dev-lang/idb/idb-12.0.2.137.ebuild
new file mode 100644
index 000000000..0c90fb90f
--- /dev/null
+++ b/dev-lang/idb/idb-12.0.2.137.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+INTEL_DPN=parallel_studio_xe
+INTEL_DID=2065
+INTEL_DPV=2011_update1
+INTEL_SUBDIR=composerxe
+
+inherit intel-sdp
+
+DESCRIPTION="Intel C/C++/FORTRAN debugger"
+HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
+
+IUSE="eclipse"
+
+DEPEND="~dev-libs/intel-common-${PV}[compiler]"
+RDEPEND="${DEPEND}
+ eclipse? ( dev-util/eclipse-sdk )"
+
+QA_PREBUILT="
+ ${INTEL_SDP_DIR}/bin/*/*
+ ${INTEL_SDP_DIR}/debugger/*/*/*"
+QA_PRESTRIPPED="
+ ${INTEL_SDP_DIR}/bin/*/*
+ ${INTEL_SDP_DIR}/debugger/lib/*/*"
+
+CHECKREQS_DISK_BUILD=256
+
+INTEL_BIN_RPMS="idb"
+INTEL_DAT_RPMS="idb-common idbcdt"
diff --git a/dev-lang/idb/metadata.xml b/dev-lang/idb/metadata.xml
new file mode 100644
index 000000000..d5321f3d3
--- /dev/null
+++ b/dev-lang/idb/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>bicatali@gentoo.org</email>
+</maintainer>
+<longdescription lang="en">
+ The Intel® Debugger is a command line debugger for Intel based
+ architectures. It is well suited with the Intel C++ or Intel FORTRAN
+ compilers. It also comes also with a graphical interface and extensive
+ documentation. The package is bundled in either compiler tar ball, and
+ has been split to produce this one.
+ The product can be installed as a non-commercial as
+ well. License, terms of qualifications can be found on the web
+ site and follow the one received in the Intel compilers.
+</longdescription>
+<use>
+ <flag name='eclipse'>Install the <pkg>dev-util/eclipse-sdk</pkg> plugins</flag>
+</use>
+</pkgmetadata>
diff --git a/dev-lang/ifc/ChangeLog b/dev-lang/ifc/ChangeLog
new file mode 100644
index 000000000..c6cecc941
--- /dev/null
+++ b/dev-lang/ifc/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-lang/ifc
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 23 Feb 2011; Sébastien Fabbro <bicatali@gentoo.org> ifc-12.0.2.137.ebuild:
+ Bump
+
+ 03 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> ifc-12.0.0.084.ebuild,
+ +metadata.xml:
+ Version bump and with newly factored ebuilds
+
diff --git a/dev-lang/ifc/Manifest b/dev-lang/ifc/Manifest
new file mode 100644
index 000000000..6b6a083f1
--- /dev/null
+++ b/dev-lang/ifc/Manifest
@@ -0,0 +1,6 @@
+DIST parallel_studio_xe_2011_update1.tgz 1560496278 RMD160 95e074e63c803a4a325edefeca6b03e8aff4ec42 SHA1 b5da44dd6d4ee7eba606b724f2350855facf27ad SHA256 ac6f29355881ab61ff9fbdb72923934a331a2bdd8a7856f6f3c207df8c4fa608
+DIST parallel_studio_xe_2011_update1_ia32.tgz 809416643 RMD160 2d22c4448b1bd6087b911aa7033401aa98693a59 SHA1 f0e2d17d818ff5cacb088d8df9eba986651aaeac SHA256 c14962999408913f4d9c614153047315b3f645fb340c98af7bc30c8b35ef85ec
+DIST parallel_studio_xe_2011_update1_intel64.tgz 958969597 RMD160 1b8839ead6abe50b30b59a2e57ef7b24bf3dcb66 SHA1 3bdf92e4e818390b41dda3962338481409dd4002 SHA256 2a76006134cb622e2d80bbd17a79454100c3a066228b82b4d27971252eea49a7
+EBUILD ifc-12.0.2.137.ebuild 740 RMD160 b75f4b3f487bbb095fb4434ce6c93da098596d28 SHA1 ae0ada10f50754081cf3b14ed56f2a7410538840 SHA256 031cf28a6e902a8fd081acc8aee194d229076b3d2807a30c3480aaf88f459abe
+MISC ChangeLog 342 RMD160 bd759ecb85bf4b7360f6ffe80f44763e28d9ff6e SHA1 54e90b9d1102cd8665e5306b253437fb8e8351d7 SHA256 6e5b7f409647fdba1fc778d7eee5f5a008515f6fc9b11b59d4b6dd951b8363bc
+MISC metadata.xml 670 RMD160 223c948cfc659bc5901c225f862101004d15158f SHA1 d9209433d0b03097d730b506670865b52e7faa98 SHA256 287008ab985b4c8ca6724ea5f66f1cc70f1d235ca34afc4ff67fc6936ebef849
diff --git a/dev-lang/ifc/ifc-12.0.2.137.ebuild b/dev-lang/ifc/ifc-12.0.2.137.ebuild
new file mode 100644
index 000000000..d33ebd29a
--- /dev/null
+++ b/dev-lang/ifc/ifc-12.0.2.137.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+INTEL_DPN=parallel_studio_xe
+INTEL_DID=2065
+INTEL_DPV=2011_update1
+INTEL_SUBDIR=composerxe
+
+inherit intel-sdp
+
+DESCRIPTION="Intel FORTRAN Compiler"
+HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
+
+IUSE=""
+RDEPEND="~dev-libs/intel-common-${PV}[compiler]"
+DEPEND="${RDEPEND}"
+
+QA_PREBUILT="
+ ${INTEL_SDP_DIR}/bin/*/*
+ ${INTEL_SDP_DIR}/compiler/lib/*/*
+ ${INTEL_SDP_DIR}/mpirt/bin/*/*
+ ${INTEL_SDP_DIR}/mpirt/lib/*/*"
+QA_PRESTRIPPED="${INTEL_SDP_DIR}/compiler/lib/*/.*libFNP.so"
+
+CHECKREQS_DISK_BUILD=256
+
+INTEL_BIN_RPMS="compilerprof compilerprof-devel"
+INTEL_DAT_RPMS="compilerprof-common"
diff --git a/dev-lang/ifc/metadata.xml b/dev-lang/ifc/metadata.xml
new file mode 100644
index 000000000..629ccd6ce
--- /dev/null
+++ b/dev-lang/ifc/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+ The Intel® Fortran Compiler is a full featured FORTRAN 77/95 and
+ substantial FORTRAN 2003 compiler for Intel based architectures. The
+ compiler supports multi-threading with 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.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-libs/intel-common/ChangeLog b/dev-libs/intel-common/ChangeLog
new file mode 100644
index 000000000..7a69e6e77
--- /dev/null
+++ b/dev-libs/intel-common/ChangeLog
@@ -0,0 +1,19 @@
+# ChangeLog for dev-libs/intel-common
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 31 Mar 2011; Justin Lecher <jlec@gentoo.org> intel-common-12.0.2.137.ebuild:
+ Corrected env.d files creation
+
+*intel-common-12.0.2.137 (23 Feb 2011)
+
+ 23 Feb 2011; Sébastien Fabbro <bicatali@gentoo.org>
+ +intel-common-12.0.2.137.ebuild:
+ Bump
+
+*intel-common-12.0.0.084 (03 Dec 2010)
+
+ 03 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org>
+ +intel-common-12.0.0.084.ebuild, +metadata.xml:
+ Initial import
+
diff --git a/dev-libs/intel-common/Manifest b/dev-libs/intel-common/Manifest
new file mode 100644
index 000000000..9b2452a5b
--- /dev/null
+++ b/dev-libs/intel-common/Manifest
@@ -0,0 +1,6 @@
+DIST parallel_studio_xe_2011_update1.tgz 1560496278 RMD160 95e074e63c803a4a325edefeca6b03e8aff4ec42 SHA1 b5da44dd6d4ee7eba606b724f2350855facf27ad SHA256 ac6f29355881ab61ff9fbdb72923934a331a2bdd8a7856f6f3c207df8c4fa608
+DIST parallel_studio_xe_2011_update1_ia32.tgz 809416643 RMD160 2d22c4448b1bd6087b911aa7033401aa98693a59 SHA1 f0e2d17d818ff5cacb088d8df9eba986651aaeac SHA256 c14962999408913f4d9c614153047315b3f645fb340c98af7bc30c8b35ef85ec
+DIST parallel_studio_xe_2011_update1_intel64.tgz 958969597 RMD160 1b8839ead6abe50b30b59a2e57ef7b24bf3dcb66 SHA1 3bdf92e4e818390b41dda3962338481409dd4002 SHA256 2a76006134cb622e2d80bbd17a79454100c3a066228b82b4d27971252eea49a7
+EBUILD intel-common-12.0.2.137.ebuild 1620 RMD160 598ffe0dd8bac5d5547b0cb036bbf0cd03b17c91 SHA1 ebfa8845e111a56d9229fff5da1add4afb1722f6 SHA256 b5e47e104d648a999aa7c66f332353f3f2c566d4ff00faa8d40ed5f5af7ce8de
+MISC ChangeLog 536 RMD160 67b98482b257f53a1115911454e920821fb3df76 SHA1 be6f01b9107a6b610c2397a7903c8acc34929834 SHA256 2456432e606e318530d1f3eb756c8d0f217e9cea84211845c65b3edf48a49c5d
+MISC metadata.xml 515 RMD160 bba6488090cacb223766c5ae29ceffc2cab5a6a3 SHA1 7528796246f60b364acdfcb851e456bb12d339d5 SHA256 80044168a3f8eb63991e95a0f0456e10170cd002b371dd588c39b6a340c5c070
diff --git a/dev-libs/intel-common/intel-common-12.0.2.137.ebuild b/dev-libs/intel-common/intel-common-12.0.2.137.ebuild
new file mode 100644
index 000000000..7d84a772b
--- /dev/null
+++ b/dev-libs/intel-common/intel-common-12.0.2.137.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+INTEL_DPN=parallel_studio_xe
+INTEL_DID=2065
+INTEL_DPV=2011_update1
+INTEL_SUBDIR=composerxe
+
+inherit intel-sdp
+
+DESCRIPTION="Common libraries and utilities needed for Intel compilers and libraries"
+HOMEPAGE="http://software.intel.com/en-us/articles/intel-compilers/"
+
+IUSE="+compiler"
+
+QA_PREBUILT="
+ ${INTEL_SDP_DIR}/compiler/lib/*/*
+ ${INTEL_SDP_DIR}/bin/sourcechecker/*/*/*
+ ${INTEL_SDP_DIR}/bin/*/*"
+
+QA_PRESTRIPPED="
+ ${INTEL_SDP_DIR}/compiler/lib/*/.*libFNP.so
+ ${INTEL_SDP_DIR}/bin/sourcechecker/lib/*/pinruntime/.*
+ ${INTEL_SDP_DIR}/bin/sourcechecker/*/*/.*"
+
+CHECKREQS_DISK_BUILD=256
+
+pkg_setup() {
+ einfo ${INTEL_SDP_DIR}
+ INTEL_BIN_RPMS="openmp openmp-devel"
+ INTEL_DAT_RPMS="compilerpro-common"
+ if use compiler; then
+ INTEL_BIN_RPMS="${INTEL_BIN_RPMS} compilerpro-devel sourcechecker-devel"
+ INTEL_DAT_RPMS="${INTEL_DAT_RPMS} compilerpro-vars sourcechecker-common"
+ fi
+ intel-sdp_pkg_setup
+}
+
+src_install() {
+ intel-sdp_src_install
+ local path rootpath ldpath arch fenv=35intelsdp
+ cat > ${fenv} <<-EOF
+ NLSPATH=${INTEL_SDP_EDIR}/lib/locale/en_US/%N
+ MANPATH=${INTEL_SDP_EDIR}/man/en_US
+ EOF
+ for arch in ${INTEL_ARCH}; do
+ path=${path}:${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_EDIR}/mpirt/bin/${arch}
+ rootpath=${rootpath}:${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_EDIR}/mpirt/bin/${arch}
+ ldpath=${ldpath}:${INTEL_SDP_EDIR}/compiler/lib/${arch}
+ done
+ cat >> ${fenv} <<-EOF
+ PATH=${path#:}
+ ROOTPATH=${rootpath#:}
+ LDPATH=${ldpath#:}
+ EOF
+ doenvd ${fenv} || die
+}
diff --git a/dev-libs/intel-common/metadata.xml b/dev-libs/intel-common/metadata.xml
new file mode 100644
index 000000000..267bd4344
--- /dev/null
+++ b/dev-libs/intel-common/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>bicatali@gentoo.org</email>
+</maintainer>
+<longdescription lang="en">
+ This package contains the core files to be installed for the Intel
+ compilers and libraries. Probably useless if installed standalone.
+</longdescription>
+<use>
+ <flag name='compiler'>Install the libraries needed for the icc and ifort compilers</flag>
+</use>
+</pkgmetadata>
diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass
new file mode 100644
index 000000000..0234520ab
--- /dev/null
+++ b/eclass/intel-sdp.eclass
@@ -0,0 +1,161 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+# @ECLASS: intel-sdp.eclass
+# @MAINTAINER: bicatali@gentoo.org
+# @BLURB: simplify Intel Software Development Products package management
+
+# @ECLASS-VARIABLE: INTEL_DPV
+# @DEFAULT_UNSET
+# @DESCRIPTION: the package download version from Intel. It must be defined.
+# To find out its value, see the links to download in
+# https://registrationcenter.intel.com/RegCenter/MyProducts.aspx
+
+# @ECLASS-VARIABLE: INTEL_DID
+# @DEFAULT_UNSET
+# @DESCRIPTION: the package download ID from Intel. It must be defined.
+# To find out its value, see the links to download in
+# https://registrationcenter.intel.com/RegCenter/MyProducts.aspx
+
+# @ECLASS-VARIABLE: INTEL_DPN
+# @DEFAULT_UNSET
+# @DESCRIPTION: the package name to download from Intel. It must be defined.
+# To find out its value, see the links to download in
+# https://registrationcenter.intel.com/RegCenter/MyProducts.aspx
+
+# @ECLASS-VARIABLE: INTEL_SUBDIR
+# @DEFAULT_UNSET
+# @DESCRIPTION: the package sub-directory where it will end-up in /opt/intel
+# To find out its value, you have to do a raw install from the Intel tar ball
+
+inherit versionator check-reqs multilib
+
+INTEL_PV1=$(get_version_component_range 1)
+INTEL_PV2=$(get_version_component_range 2)
+INTEL_PV3=$(get_version_component_range 3)
+INTEL_PV4=$(get_version_component_range 4)
+INTEL_URI="http://registrationcenter-download.intel.com/irc_nas/${INTEL_DID}/${INTEL_DPN}"
+
+SRC_URI="amd64? ( multilib? ( ${INTEL_URI}_${INTEL_DPV}.tgz ) )
+ amd64? ( !multilib? ( ${INTEL_URI}_${INTEL_DPV}_intel64.tgz ) )
+ x86? ( ${INTEL_URI}_${INTEL_DPV}_ia32.tgz )"
+
+LICENSE="Intel-SDP"
+SLOT="${INTEL_PV1}.${INTEL_PV2}"
+IUSE="multilib"
+KEYWORDS="-* ~amd64 ~x86"
+
+RESTRICT="mirror"
+
+RDEPEND=""
+DEPEND=">=app-arch/rpm2targz-9.0.0.3g"
+INTEL_SDP_YEAR=${INTEL_DPV%_update*}
+INTEL_SDP_DIR="opt/intel/${INTEL_SUBDIR}-${INTEL_SDP_YEAR:-${INTEL_PV1}}.${INTEL_PV3}.${INTEL_PV4}"
+INTEL_SDP_EDIR="${EROOT#/}/${INTEL_SDP_DIR}"
+
+S="${WORKDIR}"
+
+intel-sdp_pkg_setup() {
+ local arch a p
+ if use x86; then
+ arch=${INTEL_X86:-i486}
+ INTEL_ARCH="ia32"
+ elif use amd64; then
+ arch=x86_64
+ INTEL_ARCH="intel64"
+ if use multilib; then
+ arch="x86_64 ${INTEL_X86:-i486}"
+ INTEL_ARCH="intel64 ia32"
+ fi
+ fi
+ INTEL_RPMS=""
+ for p in ${INTEL_BIN_RPMS}; do
+ for a in ${arch}; do
+ INTEL_RPMS="${INTEL_RPMS} intel-${p}-${INTEL_PV4}-${INTEL_PV1}.${INTEL_PV2}-${INTEL_PV3}.${a}.rpm"
+ done
+ done
+ for p in ${INTEL_DAT_RPMS}; do
+ INTEL_RPMS="${INTEL_RPMS} intel-${p}-${INTEL_PV4}-${INTEL_PV1}.${INTEL_PV2}-${INTEL_PV3}.noarch.rpm"
+ done
+ [[ -z ${CHECKREQS_DISK_BUILD} ]] && CHECKREQS_DISK_BUILD=256
+ check_reqs
+}
+
+intel-sdp_src_unpack() {
+ local l r t rpmdir
+ for t in ${A}; do
+ # TODO: need to find a fast way to find the rpmdir
+ # in some cases rpms are in rpms/, in other cases in rpm/
+ # tar tvf is too slow for 1.4G tar balls
+ rpmdir=${t%.tgz}/rpm
+ for r in ${INTEL_RPMS}; do
+ einfo "Unpacking ${r}"
+ l=.${r}_$(date +'%d%m%y_%H%M%S').log
+ tar xf "${DISTDIR}"/${t} \
+ ${rpmdir}/${r} || die "extracting ${r} failed"
+ rpm2tar -O "./${rpmdir}/${r}" | tar xvf - \
+ | sed -e "s:^\.:${EROOT#/}:g" > ${l} || die "failure unpacking ${r}"
+ mv ${l} opt/intel/ || die "failed moving extract log file"
+ done
+ done
+}
+
+intel_link_eclipse_plugins() {
+ pushd ${INTEL_SDP_DIR}/eclipse_support > /dev/null
+ local c f
+ for c in cdt*; do
+ local cv=${c#cdt} ev=3.$(( ${cv:0:1} - 1))
+ if has_version "dev-util/eclipse-sdk:${ev}"; then
+ einfo "Linking eclipse (v${ev}) plugin cdt (v${cv})"
+ for f in cdt${cv}/eclipse/features/*; do
+ dodir /usr/$(get_libdir)/eclipse-${ev}/features
+ dosym "${INTEL_SDP_EDIR}"/eclipse_support/${f} \
+ /usr/$(get_libdir)/eclipse-${ev}/features/ || die
+ done
+ for f in cdt${cv}/eclipse/plugins/*; do
+ dodir /usr/$(get_libdir)/eclipse-${ev}/plugins
+ dosym "${INTEL_SDP_EDIR}"/eclipse_support/${f} \
+ /usr/$(get_libdir)/eclipse-${ev}/plugins/ || die
+ done
+ fi
+ done
+ popd > /dev/null
+}
+
+intel-sdp_src_install() {
+ [[ -d ${INTEL_SDP_DIR}/eclipse_support ]] && \
+ has eclipse ${IUSE} && \
+ use eclipse && \
+ intel_link_eclipse_plugins
+ einfo "Tagging ${PN}"
+ find opt -name \*sh -type f -exec sed -i \
+ -e "s:<.*DIR>:${INTEL_SDP_EDIR}:g" \
+ '{}' \;
+ mv opt "${ED:-${D}}"/ || die "moving files failed"
+}
+
+intel-sdp_pkg_postinst() {
+ # add product registry to intel "database"
+ local l r
+ INTEL_SDP_DB="${EROOT#/}"/opt/intel/intel-sdp-products.db
+ for r in ${INTEL_RPMS}; do
+ l="$(ls -1 ${EROOT#/}/opt/intel/.${r}_*.log | head -n 1)"
+ echo >> ${INTEL_SDP_DB} \
+ "<:${r%-${INTEL_PV4}*}-${INTEL_PV4}:${r}:${INTEL_SDP_EDIR}:${l}:>"
+ done
+}
+
+intel-sdp_pkg_postrm() {
+ # remove from intel "database"
+ if [[ -e ${INTEL_SDP_DB} ]]; then
+ local r
+ for r in ${INTEL_RPMS}; do
+ sed -i \
+ -e "/${r}/d" \
+ ${INTEL_SDP_DB}
+ done
+ fi
+}
+
+EXPORT_FUNCTIONS pkg_setup src_unpack src_install pkg_postinst pkg_postrm