Forgot to inherit java-ant-2 for rewritting.
authorJoshua Nichols <nichoj@gentoo.org>
Fri, 5 Jan 2007 04:05:19 +0000 (04:05 +0000)
committerJoshua Nichols <nichoj@gentoo.org>
Fri, 5 Jan 2007 04:05:19 +0000 (04:05 +0000)
Package-Manager: portage-2.1.2_rc4-r4

dev-java/jline/ChangeLog
dev-java/jline/files/digest-jline-0.9.9-r1 [new file with mode: 0644]
dev-java/jline/jline-0.9.9-r1.ebuild [new file with mode: 0644]

index 2212626bbe2ac6d78e30051f38aa84df41f8f9ac..6744fbb484787838f521543ad0f6183d28a589a2 100644 (file)
@@ -1,6 +1,12 @@
 # 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.1 2007/01/05 02:33:12 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jline/ChangeLog,v 1.2 2007/01/05 04:05:19 nichoj Exp $
+
+*jline-0.9.9-r1 (05 Jan 2007)
+
+  05 Jan 2007; Joshua Nichols <nichoj@gentoo.org> -jline-0.9.9.ebuild,
+  +jline-0.9.9-r1.ebuild:
+  Forgot to inherit java-ant-2 for rewritting.
 
 *jline-0.9.9 (05 Jan 2007)
 
diff --git a/dev-java/jline/files/digest-jline-0.9.9-r1 b/dev-java/jline/files/digest-jline-0.9.9-r1
new file mode 100644 (file)
index 0000000..f5517e9
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 c5164fb17d33315fa2c1ad10ab84aef7 jline-0.9.9.zip 692022
+RMD160 62e45ddadf1eb175cf0271df5f8f8d6075f62f07 jline-0.9.9.zip 692022
+SHA256 f1ac3b06fbb9b81c03555874ab748c3e674644736f0003ac3ed81d6201332e9b jline-0.9.9.zip 692022
diff --git a/dev-java/jline/jline-0.9.9-r1.ebuild b/dev-java/jline/jline-0.9.9-r1.ebuild
new file mode 100644 (file)
index 0000000..9bfc307
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jline/jline-0.9.9-r1.ebuild,v 1.1 2007/01/05 04:05:19 nichoj Exp $
+
+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 ~x86"
+IUSE="source"
+
+DEPEND=">=virtual/jdk-1.4
+       dev-java/ant-core
+       app-arch/unzip
+       source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}/${P}/src"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       mkdir lib
+       # we don't support maven for building yet. this build.xml was generated by:
+       # - mvn ant:ant
+       # - tweak build.xml to use <fileset dir="lib" includes="**/*.jar" for
+       # build.classpath
+       cp ${FILESDIR}/build-${PV}.xml build.xml || die "failed to copy build.xml"
+}
+
+src_install() {
+       java-pkg_newjar target/${P}.jar
+       use source && java-pkg_dosrc src/main/java
+}