summaryrefslogtreecommitdiff
blob: 8198bd96b2b1334e64da962a4f44b8568e6092b3 (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
# Copyright 1999-2003 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-20030501.ebuild,v 1.2 2003/09/06 17:28:13 karltk Exp $

S=${WORKDIR}/eclipse
DESCRIPTION="C/C++ Development Tools for Eclipse"
HOMEPAGE="http://www.eclipse.org"
SRC_URI="http://download.eclipse.org/tools/cdt/downloads/cdt/cdt1_1/org.eclipse.cdt-200305011510.linux.gtk_1.1.0.bin.dist.zip"

SLOT="2"
LICENSE="CPL-1.0"
KEYWORDS="~x86 ~sparc"

DEPEND="=dev-util/eclipse-platform-bin-2.1*"

src_unpack() {
	mkdir ${S}
	cd ${S}
	unpack ${A}
}

src_install () {
	dodir /opt/eclipse/plugins
	dodir /opt/eclipse/features

	cp -dpR plugins/org.eclipse.cdt* ${D}/opt/eclipse/plugins/
	cp -dpR features/org.eclipse.cdt* ${D}/opt/eclipse/features/

	dohtml plugins/org.eclipse.cdt.core_1.1.0/about.html
}