diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-06-03 21:01:25 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-06-03 21:01:25 +0000 |
commit | 340036e2629a50ee8af076a8647e1363cb23bb80 (patch) | |
tree | d919f74451ac6434555e909fe4563143afd6f978 /dev-util/eclipse-cdt-bin/eclipse-cdt-bin-1.2.0.ebuild | |
parent | IUSE (Manifest recommit) (diff) | |
download | gentoo-2-340036e2629a50ee8af076a8647e1363cb23bb80.tar.gz gentoo-2-340036e2629a50ee8af076a8647e1363cb23bb80.tar.bz2 gentoo-2-340036e2629a50ee8af076a8647e1363cb23bb80.zip |
New upstream version.
Diffstat (limited to 'dev-util/eclipse-cdt-bin/eclipse-cdt-bin-1.2.0.ebuild')
-rw-r--r-- | dev-util/eclipse-cdt-bin/eclipse-cdt-bin-1.2.0.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-util/eclipse-cdt-bin/eclipse-cdt-bin-1.2.0.ebuild b/dev-util/eclipse-cdt-bin/eclipse-cdt-bin-1.2.0.ebuild new file mode 100644 index 000000000000..63d44405f88d --- /dev/null +++ b/dev-util/eclipse-cdt-bin/eclipse-cdt-bin-1.2.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/eclipse-cdt-bin/eclipse-cdt-bin-1.2.0.ebuild,v 1.1 2004/06/03 21:01:25 karltk Exp $ + +inherit eclipse-ext + +DESCRIPTION="C/C++ Development Tools for Eclipse" +HOMEPAGE="http://www.eclipse.org/cdt" +SRC_URI=" gtk? ( http://download.eclipse.org/tools/cdt/updates/release/dist/cdt-full-1.2-linux-gtk.zip ) + motif? ( http://download.eclipse.org/tools/cdt/updates/release/dist/cdt-full-1.2-linux-motif.zip )" +SLOT="1" +LICENSE="CPL-1.0" +KEYWORDS="-* ~x86" +DEPEND=">=dev-util/eclipse-sdk-3.0_pre8" +RDEPEND="${DEPEND} + gtk? ( >=x11-libs/gtk+-2.2.4-r1 ) + motif? ( >=x11-libs/openmotif-2.1.30-r4 ) " + + +src_unpack() { + if use gtk && use motif ; then + ewarn "Both gtk and motif desired, selecting gtk." + fi + mkdir ${S} + cd ${S} + unpack ${A} +} + + +src_compile() { + einfo "${P} is a binary package" +} + +src_install () { + eclipse-ext_require-slot 2 || die "Failed to find suitable Eclipse installation" + + eclipse-ext_create-ext-layout binary || die "Failed to create layout" + + eclipse-ext_install-features eclipse/features/* || die "Failed to install features" + eclipse-ext_install-plugins eclipse/plugins/* || die "Failed to install plugins" +} |