/[gentoo-x86]/dev-java/jruby/jruby-0.7.0.ebuild
Gentoo

Contents of /dev-java/jruby/jruby-0.7.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Apr 2 21:43:38 2005 UTC (9 years, 3 months ago) by luckyduck
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
cleanup, removed old revision with a dependency to oro. marked stable on amd64.
(Portage version: 2.0.51.19)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/jruby/jruby-0.7.0.ebuild,v 1.2 2005/02/05 20:47:20 luckyduck Exp $
4
5 inherit java-pkg
6
7 DESCRIPTION="Java based ruby interpreter implementation"
8 HOMEPAGE="http://jruby.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/jruby/${PN}-src-${PV}.tar.gz"
10 KEYWORDS="x86 ~amd64"
11 LICENSE="GPL-2"
12 SLOT="0"
13 IUSE="doc jikes junit"
14 RDEPEND=">=virtual/jre-1.4
15 =dev-java/bsf-2.3*
16 =dev-java/oro-2.0*
17 =dev-java/gnu-regexp-1.1*"
18 DEPEND="${RDEPEND}
19 >=dev-java/ant-1.4
20 jikes? ( dev-java/jikes )
21 junit? ( dev-java/junit )"
22
23 src_unpack() {
24 unpack ${A}
25 cd ${S}/lib
26 rm -rf *.jar
27 java-pkg_jar-from bsf-2.3
28 java-pkg_jar-from oro
29 java-pkg_jar-from gnu-regexp-1
30 java-pkg_jar-from ant-core ant.jar
31 use junit && java-pkg_jar-from junit
32 }
33
34 src_compile() {
35 local antflags="jar"
36
37 use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
38 use junit && antflags="${antflags} test"
39 use doc && antflags="${antflags} create-apidocs"
40
41 ant ${antflags} || die "Compile Failed"
42 }
43
44 src_install() {
45 java-pkg_dojar ${S}/lib/jruby.jar
46 use doc && java-pkg_dohtml -r docs/api/*
47 }

  ViewVC Help
Powered by ViewVC 1.1.20