diff options
author | Vlastimil Babka <caster@gentoo.org> | 2009-05-21 21:47:36 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2009-05-21 21:47:36 +0000 |
commit | 891fb676468dfeb50ad1fbc426bf536756dfa550 (patch) | |
tree | 50c784dc52056821911852f1afdb8386447a6754 /dev-java/jline | |
parent | Typo in doc install (diff) | |
download | gentoo-2-891fb676468dfeb50ad1fbc426bf536756dfa550.tar.gz gentoo-2-891fb676468dfeb50ad1fbc426bf536756dfa550.tar.bz2 gentoo-2-891fb676468dfeb50ad1fbc426bf536756dfa550.zip |
Version bump. From java-overlay, thanks to chewi.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/jline')
-rw-r--r-- | dev-java/jline/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/jline/jline-0.9.94.ebuild | 58 |
2 files changed, 65 insertions, 2 deletions
diff --git a/dev-java/jline/ChangeLog b/dev-java/jline/ChangeLog index eea72061c2ef..bed4205355b3 100644 --- a/dev-java/jline/ChangeLog +++ b/dev-java/jline/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/jline -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jline/ChangeLog,v 1.18 2007/06/10 14:38:17 caster Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jline/ChangeLog,v 1.19 2009/05/21 21:47:36 caster Exp $ + +*jline-0.9.94 (21 May 2009) + + 21 May 2009; Vlastimil Babka <caster@gentoo.org> +jline-0.9.94.ebuild: + Version bump. From java-overlay, thanks to chewi. 10 Jun 2007; Vlastimil Babka <caster@gentoo.org> -files/build-0.9.9.xml, -jline-0.9.9-r1.ebuild, -jline-0.9.9-r2.ebuild: diff --git a/dev-java/jline/jline-0.9.94.ebuild b/dev-java/jline/jline-0.9.94.ebuild new file mode 100644 index 000000000000..d371596d592a --- /dev/null +++ b/dev-java/jline/jline-0.9.94.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jline/jline-0.9.94.ebuild,v 1.1 2009/05/21 21:47:36 caster Exp $ + +EAPI=2 +JAVA_PKG_IUSE="doc source test" +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A Java library for handling console input" +HOMEPAGE="http://jline.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.zip" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + test? ( dev-java/ant-junit )" +RDEPEND=">=virtual/jre-1.4" + +S="${WORKDIR}/${P}/src" + +java_prepare() { + rm -fv "${WORKDIR}"/${P}/*.jar || die + + # we don't support maven for building yet. this build.xml was generated by: + # - mvn ant:ant + # - tweak build.xml to not load properties from home dir + # - tweak the test target to match the test cases + # - change maven.repo.local from ~/.maven to "lib" in .properties + # - change classpath definitions to "*.jar" + cp "${FILESDIR}/maven-build.xml" build.xml || die + cp "${FILESDIR}/maven-build.properties" . || die + java-ant_ignore-system-classes + + mkdir lib && cd lib || die + use test && java-pkg_jar-from --build-only junit +} + +src_compile() { + # precompiled javadocs (needs maven to generate) + # -Dmaven.build.finalName is needed to override the one defined in the + # build.xml, which because it was generated with 0.9.9, defaults to + # jline-0.9.9 -nichoj + eant package -Dmaven.build.finalName=${P} +} + +src_test() { + ANT_TASKS="ant-junit" eant test -Djunit.present=true +} + +src_install() { + java-pkg_newjar target/${P}.jar + use doc && java-pkg_dojavadoc ../apidocs + use source && java-pkg_dosrc src/main/java +} + |