diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-09-30 02:25:15 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-09-30 02:25:15 +0000 |
commit | a90beb022730b1468bca130a68bcb29cf6fc6eb5 (patch) | |
tree | ec595003ecc2da8894f6a45b1a5bea6aca88ca5c /dev-java/jruby | |
parent | Initial commit. Ebuild contributed by Sean McEligot <sean.mceligot@gmail.com>... (diff) | |
download | gentoo-2-a90beb022730b1468bca130a68bcb29cf6fc6eb5.tar.gz gentoo-2-a90beb022730b1468bca130a68bcb29cf6fc6eb5.tar.bz2 gentoo-2-a90beb022730b1468bca130a68bcb29cf6fc6eb5.zip |
Version bump. Contributed by Sean McEligot <sean.mceligot@gmail.com>, bug #145748.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'dev-java/jruby')
-rw-r--r-- | dev-java/jruby/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/jruby/files/digest-jruby-0.9.0 | 3 | ||||
-rw-r--r-- | dev-java/jruby/jruby-0.9.0.ebuild | 71 | ||||
-rw-r--r-- | dev-java/jruby/metadata.xml | 11 |
4 files changed, 83 insertions, 11 deletions
diff --git a/dev-java/jruby/ChangeLog b/dev-java/jruby/ChangeLog index 24525e166f30..5fd4b639f491 100644 --- a/dev-java/jruby/ChangeLog +++ b/dev-java/jruby/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/jruby # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jruby/ChangeLog,v 1.7 2006/09/13 06:17:01 wormo Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jruby/ChangeLog,v 1.8 2006/09/30 02:25:15 nichoj Exp $ + +*jruby-0.9.0 (30 Sep 2006) + + 30 Sep 2006; Joshua Nichols <nichoj@gentoo.org> metadata.xml, + +jruby-0.9.0.ebuild: + Version bump. Contributed by Sean McEligot <sean.mceligot@gmail.com>, bug + #145748. 12 Sep 2006; Stephanie Lockwood-Childs <wormo@gentoo.org> jruby-0.7.0-r1.ebuild: diff --git a/dev-java/jruby/files/digest-jruby-0.9.0 b/dev-java/jruby/files/digest-jruby-0.9.0 new file mode 100644 index 000000000000..d488e3765c1e --- /dev/null +++ b/dev-java/jruby/files/digest-jruby-0.9.0 @@ -0,0 +1,3 @@ +MD5 0e5a764dc16b018624e7a57939d64d7e jruby-src-0.9.0.tar.gz 2399908 +RMD160 0da3836c61722cc1188fbf57fc1db68acd544478 jruby-src-0.9.0.tar.gz 2399908 +SHA256 bf700f2762f5a61235d727b5595e378b6867af68614fe2616496dc952fa93209 jruby-src-0.9.0.tar.gz 2399908 diff --git a/dev-java/jruby/jruby-0.9.0.ebuild b/dev-java/jruby/jruby-0.9.0.ebuild new file mode 100644 index 000000000000..ce42b7fd12c7 --- /dev/null +++ b/dev-java/jruby/jruby-0.9.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jruby/jruby-0.9.0.ebuild,v 1.1 2006/09/30 02:25:15 nichoj Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Java based ruby interpreter implementation" +HOMEPAGE="http://jruby.sourceforge.net/" +SRC_URI="mirror://sourceforge/jruby/${PN}-src-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc test source" + +RDEPEND=">=virtual/jre-1.4 + =dev-java/jvyaml-0.1* + =dev-java/bsf-2.3*" +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND} + >=dev-java/ant-1.4 + test? ( dev-java/junit ) + source? ( app-arch/zip )" + +src_unpack() { + unpack ${A} + cd ${S}/lib + rm -rf *.jar + java-pkg_jar-from ant-core ant.jar + java-pkg_jar-from bsf-2.3 + java-pkg_jar-from jvyaml + use test && java-pkg_jar-from --build-only junit +} +src_compile() { + eant jar $(use_doc create-apidocs) +} + +src_test() { + eant test +} + +src_install() { + java-pkg_dojar ${S}/lib/${PN}.jar + + dodoc README COPYING COPYING.CPL COPYING.GPL COPYING.LGPL + + if use doc; then + java-pkg_dohtml -r docs/api/* + docinto docs + dodoc *.* + fi + use source && java-pkg_dosrc src/org + java-pkg_dolauncher jruby \ + --main 'org.jruby.Main' \ + --java_args '-Djruby.base=/usr/share/jruby -Djruby.home=/usr/share/jruby -Djruby.lib=/usr/share/jruby/lib -Djruby.script=jruby -Djruby.shell=/bin/sh' + newbin ${S}/bin/gem jgem + newbin ${S}/bin/gem_server jgem_server + newbin ${S}/bin/gemlock jgem_lock + newbin ${S}/bin/gemri jgemri + newbin ${S}/bin/gemwhich jgemwhich + newbin ${S}/bin/update_rubygems jupdate_rubygems + newbin ${S}/bin/generate_yaml_index.rb jgenerate_yaml_index.rb + newbin ${S}/bin/index_gem_repository.rb jindex_gem_repository.rb + dobin ${S}/bin/jirb + + dodir /usr/share/${PN}/lib + cp -a ${S}/lib/*.jar + insinto /usr/share/${PN}/lib + doins -r ${S}/lib/ruby + +} diff --git a/dev-java/jruby/metadata.xml b/dev-java/jruby/metadata.xml index f5e039ea7f4b..b49d50a8990a 100644 --- a/dev-java/jruby/metadata.xml +++ b/dev-java/jruby/metadata.xml @@ -1,14 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> - <pkgmetadata> -<herd>no-herd</herd> -<maintainer> - <email>karltk@gentoo.org</email> - <description>Primary maintainer</description> -</maintainer> - -<longdescription> - -</longdescription> + <herd>jruby</herd> </pkgmetadata> |