blob: 77e418d871ff44e947a35d0bdc7d393ea1146b0b (
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-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/rhino/rhino-1.5_rc4.ebuild,v 1.3 2003/07/11 21:41:54 aliz Exp $
# This should be dynamic
inherit java-pkg
IUSE="doc"
MY_P="rhino1_5R4_1"
S="${WORKDIR}/${MY_P}"
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"
SRC_URI="ftp://ftp.mozilla.org/pub/js/${MY_P//_/}.zip"
HOMEPAGE="http://www.mozilla.org/rhino/"
LICENSE="NPL-1.1"
SLOT="0"
KEYWORDS="x86 ~ppc"
RDEPEND=">=virtual/jdk-1.3
dev-java/ant"
src_compile() {
ant jar
}
src_install() {
java-pkg_dojar build/${MY_P}/js.jar
if [ "` use doc `" ]; then
dohtml -r docs/*
fi
}
|