summaryrefslogtreecommitdiff
blob: 1208fa09a0eb36df5c122cc612e6d78b73c3a141 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/eclipse-ecj-3.1.ebuild,v 1.1 2005/08/24 21:39:35 karltk Exp $

inherit eutils java-pkg

DESCRIPTION="Eclipse Compiler for Java"
HOMEPAGE="http://www.eclipse.org/"
SRC_URI="http://www.gentoo.org/~karltk/projects/java/distfiles/${P}-gentoo.tar.bz2"
LICENSE="EPL-1.0"
KEYWORDS="~x86"
SLOT="3.1"

IUSE="gnome mozilla"

RDEPEND=">=virtual/jre-1.4"

DEPEND="${RDEPEND}
	>=virtual/jdk-1.4
	dev-java/ant"

src_compile() {
	ant || die "Failed to compile ecj.jar"
}

src_install() {
	java-pkg_dojar ecj.jar || die "ecj.jar not installable"

	exeinto /usr/bin
	doexe ecj-3.1
}