diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-29 14:42:57 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-29 14:42:57 +0000 |
commit | d4bb46b94031834e36734ff30b953d58ae57cd53 (patch) | |
tree | 2e0d9f412fee18ef33516e7d594d30493ea5443b /dev-java/jruby | |
parent | Adding a new transcode thirdpartymirror line. (diff) | |
download | gentoo-2-d4bb46b94031834e36734ff30b953d58ae57cd53.tar.gz gentoo-2-d4bb46b94031834e36734ff30b953d58ae57cd53.tar.bz2 gentoo-2-d4bb46b94031834e36734ff30b953d58ae57cd53.zip |
moved from dev-java/oro to dev-java/jakarta-oro dependency. see #71337. introduced support for the examples and the source useflag.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java/jruby')
-rw-r--r-- | dev-java/jruby/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/jruby/Manifest | 4 | ||||
-rw-r--r-- | dev-java/jruby/files/digest-jruby-0.7.0-r1 | 1 | ||||
-rw-r--r-- | dev-java/jruby/jruby-0.7.0-r1.ebuild | 50 |
4 files changed, 61 insertions, 2 deletions
diff --git a/dev-java/jruby/ChangeLog b/dev-java/jruby/ChangeLog index 2d004115530f..7a7c236caca0 100644 --- a/dev-java/jruby/ChangeLog +++ b/dev-java/jruby/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/jruby # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jruby/ChangeLog,v 1.4 2005/02/05 20:47:20 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jruby/ChangeLog,v 1.5 2005/03/29 14:42:57 luckyduck Exp $ + +*jruby-0.7.0-r1 (29 Mar 2005) + + 29 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> +jruby-0.7.0-r1.ebuild: + moved from dev-java/oro to dev-java/jakarta-oro dependency. see #71337. + introduced support for the examples and the source useflag. 05 Feb 2005; Jan Brinkmann <luckyduck@gentoo.org> jruby-0.7.0.ebuild: stable on x86, added ~amd64 to KEYWORDS. diff --git a/dev-java/jruby/Manifest b/dev-java/jruby/Manifest index f5f86c4903ca..c4c516eec742 100644 --- a/dev-java/jruby/Manifest +++ b/dev-java/jruby/Manifest @@ -1,4 +1,6 @@ +MD5 e60ca7efb0cead0700da0336c16c1f62 jruby-0.7.0-r1.ebuild 1355 MD5 a13468a8216e9dcc333d0e9f1a0a2e58 jruby-0.7.0.ebuild 1200 -MD5 97fb2ac036459bf91ed78e29c8047a97 ChangeLog 498 +MD5 cf28efa94d532c4a6f68772019dc2a42 ChangeLog 742 MD5 0637a933ecb6e8cedfc4ddfcf3491728 metadata.xml 310 MD5 8730e65374f9b6f9cc4cd0c0b043e36a files/digest-jruby-0.7.0 68 +MD5 8730e65374f9b6f9cc4cd0c0b043e36a files/digest-jruby-0.7.0-r1 68 diff --git a/dev-java/jruby/files/digest-jruby-0.7.0-r1 b/dev-java/jruby/files/digest-jruby-0.7.0-r1 new file mode 100644 index 000000000000..52d8b949b064 --- /dev/null +++ b/dev-java/jruby/files/digest-jruby-0.7.0-r1 @@ -0,0 +1 @@ +MD5 59c49588b8931fa80644e0585b009aaa jruby-src-0.7.0.tar.gz 1872867 diff --git a/dev-java/jruby/jruby-0.7.0-r1.ebuild b/dev-java/jruby/jruby-0.7.0-r1.ebuild new file mode 100644 index 000000000000..d8f50418c803 --- /dev/null +++ b/dev-java/jruby/jruby-0.7.0-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jruby/jruby-0.7.0-r1.ebuild,v 1.1 2005/03/29 14:42:57 luckyduck Exp $ + +inherit java-pkg + +DESCRIPTION="Java based ruby interpreter implementation" +HOMEPAGE="http://jruby.sourceforge.net/" +SRC_URI="mirror://sourceforge/jruby/${PN}-src-${PV}.tar.gz" +KEYWORDS="~x86 ~amd64" +LICENSE="GPL-2" +SLOT="0" +IUSE="doc examples jikes junit source" +RDEPEND=">=virtual/jre-1.4 + =dev-java/bsf-2.3* + =dev-java/jakarta-oro-2.0* + =dev-java/gnu-regexp-1.1*" +DEPEND="${RDEPEND} + >=dev-java/ant-1.4 + jikes? ( dev-java/jikes ) + junit? ( dev-java/junit )" + +src_unpack() { + unpack ${A} + cd ${S}/lib + rm -rf *.jar + java-pkg_jar-from bsf-2.3 + java-pkg_jar-from jakarta-oro-2.0 + java-pkg_jar-from gnu-regexp-1 + use junit && java-pkg_jar-from junit +} + +src_compile() { + local antflags="jar" + use doc && antflags="${antflags} create-apidocs" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + use junit && antflags="${antflags} test" + ant ${antflags} || die "Compile Failed" +} + +src_install() { + java-pkg_dojar ${S}/lib/jruby.jar + + use doc && java-pkg_dohtml -r docs/api/* + if use examples; then + dodir /usr/share/doc/${PF}/examples + cp -r samples/* ${D}/usr/share/doc/${PF}/examples + fi + use source && java-pkg_dosrc src/org +} |