blob: 677472c2e9a1ec12f2f93ad29f62998753324bb1 (
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
|
# Copyright 1999-2006 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-3.0.2.ebuild,v 1.1 2006/06/26 19:04:09 ribosome Exp $
inherit eclipse-ext
DESCRIPTION="C/C++ Development Tools for Eclipse"
LICENSE="CPL-1.0"
HOMEPAGE="http://www.eclipse.org/cdt"
SRC_URI="amd64? ( http://download.eclipse.org/tools/cdt/releases/eclipse3.1/dist/${PV}/org.eclipse.cdt-${PV}-linux.x86_64.tar.gz )
x86? ( http://download.eclipse.org/tools/cdt/releases/eclipse3.1/dist/${PV}/org.eclipse.cdt-${PV}-linux.x86.tar.gz )"
SLOT="0"
IUSE=""
KEYWORDS="-* ~x86 ~amd64"
DEPEND=">=dev-util/eclipse-sdk-3.1"
S="${WORKDIR}/eclipse"
src_compile() {
einfo "${P} is a binary package"
}
src_install () {
cd "${S}"
eclipse-ext_require-slot 3.1 || die \
"Failed to find suitable Eclipse installation"
eclipse-ext_create-ext-layout binary || die "Failed to create layout"
eclipse-ext_install-features features/* || die "Failed to install features"
eclipse-ext_install-plugins plugins/* || die "Failed to install plugins"
}
|