# ChangeLog for dev-java/jruby
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jruby/ChangeLog,v 1.12 2007/01/05 04:24:29 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jruby/ChangeLog,v 1.13 2007/02/18 17:50:32 betelgeuse Exp $
+
+ 18 Feb 2007; Petteri Räty <betelgeuse@gentoo.org> -jruby-0.9.0.ebuild,
+ -jruby-0.9.1.ebuild:
+ Removed old versions.
*jruby-0.9.2 (05 Jan 2007)
+++ /dev/null
-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
+++ /dev/null
-MD5 579d2885623d4ec730d829d2b268bb6e jruby-src-0.9.1.tar.gz 2898463
-RMD160 edfebe6c2a539e03aed2863d44d225f1f103f77f jruby-src-0.9.1.tar.gz 2898463
-SHA256 5c5904caf3421063b03498263528e303ab71f49105f90b8358c7a2989191edc9 jruby-src-0.9.1.tar.gz 2898463
+++ /dev/null
-# 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.2 2006/10/22 22:48:36 caster 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 docs/*
- 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
- insinto /usr/share/${PN}/lib
- doins -r ${S}/lib/ruby
-
-}
+++ /dev/null
-# 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.1.ebuild,v 1.2 2006/11/10 21:05:02 betelgeuse Exp $
-
-inherit eutils java-pkg-2 java-ant-2
-
-DESCRIPTION="Java based ruby interpreter implementation"
-HOMEPAGE="http://jruby.codehaus.org/"
-SRC_URI="http://dist.codehaus.org/${PN}/${PN}-src-${PV}.tar.gz"
-
-LICENSE="|| ( CPL-1.0 GPL-2 LGPL-2.1 )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc source test"
-
-COMMON_DEPEND="dev-java/jvyaml
- =dev-java/asm-2.2*
- =dev-java/bsf-2.3*"
-RDEPEND=">=virtual/jre-1.4
- ${COMMON_DEPEND}"
-DEPEND=">=virtual/jdk-1.4
- !test? ( dev-java/ant-core )
- test? (
- dev-java/junit
- dev-java/ant
- )
- source? ( app-arch/zip )
- ${COMMON_DEPEND}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # fix javadoc, make tests halt on failure
- epatch "${FILESDIR}/${P}-build.xml.patch"
-
- cd lib
- # created by jruby dev, but no source available, so use bundled
- mv plaincharset.jar "${T}"
- rm -rf *.jar
- mv "${T}/plaincharset.jar" .
-
- java-pkg_jar-from --build-only ant-core ant.jar
- java-pkg_jar-from asm-2.2 asm.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 "lib/${PN}.jar" "lib/plaincharset.jar"
-
- dodoc README COPYING COPYING.CPL COPYING.GPL COPYING.LGPL
-
- if use doc; then
- java-pkg_dojavadoc docs/api
- docinto docs
- dodoc docs/*
- fi
- use source && java-pkg_dosrc src/org
- java-pkg_dolauncher ${PN} \
- --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"
- insinto "/usr/share/${PN}/lib"
- doins -r "${S}/lib/ruby"
-}