summaryrefslogtreecommitdiff
blob: a2cef574a7ba242044f696469554fe4d6775fb6c (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/eclipse-platform-bin/eclipse-platform-bin-2.0.ebuild,v 1.4 2002/10/20 18:48:04 vapier Exp $

S=${WORKDIR}/eclipse
DESCRIPTION="Eclipse Tools Platform"
HOMEPAGE="http://www.eclipse.org"
SRC_URI="http://64.38.198.171/downloads/drops/R-2.0-200206271835/eclipse-platform-2.0-linux-gtk.zip"

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

DEPEND=">=virtual/jdk-1.2
	=x11-libs/gtk+-2.0*"

src_install () {
	dodir /opt/eclipse

	cp -dpR features install.ini libXm.so.2 eclipse \
		icon.xpm libXm.so libXm.so.2.1 plugins startup.jar \
		${D}/opt/eclipse/

	dohtml cpl-v10.html notice.html readme/*

	dodir /etc/env.d
	echo "LDPATH=/opt/eclipse" > ${D}/etc/env.d/20eclipse
}