blob: e64ebe2c45d2707e4b357f271e929de4bb947f80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2004 Gentoo Foundation
# 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.6 2005/09/16 19:00:58 axxo 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 ~sparc"
IUSE="gtk motif"
DEPEND="=dev-util/eclipse-sdk-2.1*
app-arch/unzip"
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"
}
|