Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 46582 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/dev-java/rhino/rhino-1.5-r5.ebuild (-2 / +12 lines)
Lines 2-12 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /home/cvsroot/gentoo-x86/dev-java/rhino/rhino-1.5-r5.ebuild,v 1.3 2004/05/09 22:04:01 weeve Exp $
3
# $Header: /home/cvsroot/gentoo-x86/dev-java/rhino/rhino-1.5-r5.ebuild,v 1.3 2004/05/09 22:04:01 weeve Exp $
4
4
5
inherit java-pkg
5
inherit java-pkg eutils
6
6
7
MY_P="rhino1_5R5"
7
MY_P="rhino1_5R5"
8
DESCRIPTION="Rhino is an open-source implementation of JavaScript written entirely in Java. It is typically embedded into Java applications to provide scripting to end users"
8
DESCRIPTION="Rhino is an open-source implementation of JavaScript written entirely in Java. It is typically embedded into Java applications to provide scripting to end users"
9
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/js/${MY_P}.zip"
9
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/js/${MY_P}.zip http://java.sun.com/products/jfc/tsc/articles/treetable2/downloads/src.zip"
10
HOMEPAGE="http://www.mozilla.org/rhino/"
10
HOMEPAGE="http://www.mozilla.org/rhino/"
11
LICENSE="NPL-1.1"
11
LICENSE="NPL-1.1"
12
SLOT="0"
12
SLOT="0"
Lines 19-24 Link Here
19
RDEPEND=">=virtual/jre-1.3"
19
RDEPEND=">=virtual/jre-1.3"
20
RESTRICT="nomirror"
20
RESTRICT="nomirror"
21
21
22
src_unpack() {
23
	unpack ${MY_P}.zip
24
	cd ${S}/toolsrc/org/mozilla/javascript/tools/debugger
25
	unpack src.zip
26
	rm FileSystemModel2.java
27
	rm MergeSort.java
28
	rm TreeTableExample2.java
29
	epatch ${FILESDIR}/add-package-line.diff
30
}
31
22
src_compile() {
32
src_compile() {
23
	local antflags="jar"
33
	local antflags="jar"
24
	use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
34
	use jikes && antflags="${antflags} -Dbuild.compiler=jikes"

Return to bug 46582