summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-10-06 20:46:08 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-10-06 20:46:08 +0000
commit051a542298a57ec21cffe098602bfea58bebdae6 (patch)
treede47d62c063d50ffdb4547215a2d1a19842c42a2 /dev-lang
parentVersion bump KDE 4.3.2 (diff)
downloadgentoo-2-051a542298a57ec21cffe098602bfea58bebdae6.tar.gz
gentoo-2-051a542298a57ec21cffe098602bfea58bebdae6.tar.bz2
gentoo-2-051a542298a57ec21cffe098602bfea58bebdae6.zip
Version bump. Completely rewritten. It is no merely a wrapper to what is shipped with either dev-lang/icc or dev-lang/ifc. Added eclipse plugin, thanks to Jacek Szafarkiewicz.
(Portage version: 2.2_rc42/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/idb/ChangeLog10
-rw-r--r--dev-lang/idb/idb-11.1.056.ebuild58
-rw-r--r--dev-lang/idb/metadata.xml2
3 files changed, 68 insertions, 2 deletions
diff --git a/dev-lang/idb/ChangeLog b/dev-lang/idb/ChangeLog
index 5400eec99e41..314d5434be40 100644
--- a/dev-lang/idb/ChangeLog
+++ b/dev-lang/idb/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-lang/idb
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/idb/ChangeLog,v 1.15 2009/10/05 21:01:38 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/idb/ChangeLog,v 1.16 2009/10/06 20:46:08 bicatali Exp $
+
+*idb-11.1.056 (06 Oct 2009)
+
+ 06 Oct 2009; Sébastien Fabbro <bicatali@gentoo.org> +idb-11.1.056.ebuild,
+ metadata.xml:
+ Version bump. Completely rewritten. It is no merely a wrapper to what is
+ shipped with either dev-lang/icc or dev-lang/ifc. Added eclipse plugin,
+ thanks to Jacek Szafarkiewicz.
05 Oct 2009; Sébastien Fabbro <bicatali@gentoo.org> idb-10.0.026.ebuild,
idb-10.1.017.ebuild, idb-10.1.018.ebuild:
diff --git a/dev-lang/idb/idb-11.1.056.ebuild b/dev-lang/idb/idb-11.1.056.ebuild
new file mode 100644
index 000000000000..d603918aeb4d
--- /dev/null
+++ b/dev-lang/idb/idb-11.1.056.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/idb/idb-11.1.056.ebuild,v 1.1 2009/10/06 20:46:08 bicatali Exp $
+
+EAPI=2
+inherit versionator
+
+RELEASE="$(get_version_component_range 1-2)"
+BUILD="$(get_version_component_range 3)"
+
+DESCRIPTION="Intel C/C++/FORTRAN debugger for Linux"
+HOMEPAGE="http://www.intel.com/software/products/compilers/"
+SRC_URI=""
+
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="Intel-SDP"
+SLOT="0"
+IUSE="eclipse"
+
+DEPEND=""
+RDEPEND="|| ( ~dev-lang/icc-${PV}[idb] ~dev-lang/ifc-${PV}[idb] )
+ >=virtual/jre-1.5
+ eclipse? ( >=dev-util/eclipse-sdk-3.4 )"
+
+DESTINATION="${ROOT}opt/intel/Compiler/${RELEASE}/${BUILD}"
+
+link_eclipse_plugins() {
+ ECLIPSE_V="$1"
+ CDT_V="$2"
+ einfo "Linking eclipse (v${ECLIPSE_V}) plugin cdt (v${CDT_V})"
+ dodir /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/plugins
+ dodir /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/features
+
+ for f in "${DESTINATION}/idb/eclipse_support/cdt${CDT_V}/eclipse/plugins"/*; do
+ dosym "${ROOT}${f}" /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/plugins
+ done
+
+ for f in "${DESTINATION}/idb/eclipse_support/cdt${CDT_V}/eclipse/features"/*; do
+ dosym /"${ROOT}${f}" /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/features
+ done
+ eend $?
+}
+
+src_install() {
+ cat > 06idb <<-EOF
+ NLSPATH=${DESTINATION}/idb/${IARCH}/locale/%l_%t/%N
+ EOF
+ doenvd 06idb || die "doenvd 06idb failed"
+ if use eclipse; then
+ if has_version 'dev-util/eclipse-sdk:3.4'; then
+ link_eclipse_plugins "3.4" "5.0" || die
+ fi
+ if has_version 'dev-util/eclipse-sdk:3.5'; then
+ link_eclipse_plugins "3.5" "6.0" || die
+ fi
+ fi
+}
diff --git a/dev-lang/idb/metadata.xml b/dev-lang/idb/metadata.xml
index 7992e6a2e9f7..e79474794f0b 100644
--- a/dev-lang/idb/metadata.xml
+++ b/dev-lang/idb/metadata.xml
@@ -18,6 +18,6 @@
<use>
<flag name='icc'>Use <pkg>dev-lang/icc</pkg> to install idb (default)</flag>
<flag name='ifc'>Use <pkg>dev-lang/ifc</pkg> to install idb</flag>
+ <flag name='eclipse'>Install the <pkg>dev-util/eclipse-sdk</pkg> plugins</flag>
</use>
</pkgmetadata>
-