Revision bump to support new Java system
authorJoshua Nichols <nichoj@gentoo.org>
Sat, 5 Aug 2006 17:07:21 +0000 (17:07 +0000)
committerJoshua Nichols <nichoj@gentoo.org>
Sat, 5 Aug 2006 17:07:21 +0000 (17:07 +0000)
Package-Manager: portage-2.1.1_pre4-r2

dev-java/jrexx/ChangeLog
dev-java/jrexx/files/digest-jrexx-1.1.1
dev-java/jrexx/files/digest-jrexx-1.1.1-r1 [new file with mode: 0644]
dev-java/jrexx/jrexx-1.1.1-r1.ebuild [new file with mode: 0644]
dev-java/trove/ChangeLog
dev-java/trove/files/digest-trove-1.0.2
dev-java/trove/files/digest-trove-1.0.2-r1 [new file with mode: 0644]
dev-java/trove/trove-1.0.2-r1.ebuild [new file with mode: 0644]

index 0be5ab48fdc9ca5a96a2d0e8289e777daf995b4b..84a8d6562957c0978d942225a8f0303f04dbfc18 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-java/jrexx
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jrexx/ChangeLog,v 1.2 2005/04/30 19:52:05 luckyduck Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jrexx/ChangeLog,v 1.3 2006/08/05 17:04:05 nichoj Exp $
+
+*jrexx-1.1.1-r1 (05 Aug 2006)
+
+  05 Aug 2006; Joshua Nichols <nichoj@gentoo.org> +jrexx-1.1.1-r1.ebuild:
+  Revision bump to support new Java system
 
   30 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> jrexx-1.1.1.ebuild:
   added ~ppc to KEYWORDS and introduced support for the source useflag. stable
index 7bbe965b4b85e48007e45b9eb96a88d7be4eb573..6a822dc7f17a60fa3df67c0a700de20d1fbe94a9 100644 (file)
@@ -1 +1,3 @@
 MD5 e54e1dc8454472ef2706bc21768df103 jrexx-1.1.1-src.zip 62878
+RMD160 c4d40ab80cb9d852a0112affcb091a7f317391d9 jrexx-1.1.1-src.zip 62878
+SHA256 6655b611c7693f20da86cd8e933908483615341a916556e777535192aa8f1b0d jrexx-1.1.1-src.zip 62878
diff --git a/dev-java/jrexx/files/digest-jrexx-1.1.1-r1 b/dev-java/jrexx/files/digest-jrexx-1.1.1-r1
new file mode 100644 (file)
index 0000000..6a822dc
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 e54e1dc8454472ef2706bc21768df103 jrexx-1.1.1-src.zip 62878
+RMD160 c4d40ab80cb9d852a0112affcb091a7f317391d9 jrexx-1.1.1-src.zip 62878
+SHA256 6655b611c7693f20da86cd8e933908483615341a916556e777535192aa8f1b0d jrexx-1.1.1-src.zip 62878
diff --git a/dev-java/jrexx/jrexx-1.1.1-r1.ebuild b/dev-java/jrexx/jrexx-1.1.1-r1.ebuild
new file mode 100644 (file)
index 0000000..fd431b9
--- /dev/null
@@ -0,0 +1,41 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jrexx/jrexx-1.1.1-r1.ebuild,v 1.1 2006/08/05 17:04:05 nichoj Exp $
+
+inherit java-pkg-2
+
+DESCRIPTION="Regular expression API for textual pattern matching based on the finite state automaton theory."
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
+HOMEPAGE="http://www.karneim.com/jrexx/"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+               app-arch/unzip
+               source? ( app-arch/zip )"
+IUSE="doc source"
+S=${WORKDIR}
+
+src_compile() {
+       mkdir build
+
+       cd src
+       javac $(java-pkg_javac-args) -nowarn -d ${S}/build $(find -name "*.java") \
+               || die "Failed to compile ${i}"
+
+       if use doc ; then
+               mkdir ${S}/javadoc
+               javadoc -d ${S}/javadoc $(find * -type d | tr '/' '.') \
+                       || die "failed to build javadocs"
+       fi
+
+       cd ..
+       jar cf ${PN}.jar -C build com || die "failed to create jar"
+}
+
+src_install() {
+       java-pkg_dojar ${PN}.jar
+       use doc && java-pkg_dohtml -r javadoc
+       use source && java-pkg_dosrc src/*
+}
index 42c7dd5fb8e14704383c25de2e05ac3a0cc5a681..55a76f209436fdd440f5fd8e614ba18390a8eb1e 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-java/trove
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/trove/ChangeLog,v 1.3 2005/04/30 20:09:09 luckyduck Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/trove/ChangeLog,v 1.4 2006/08/05 17:07:21 nichoj Exp $
+
+*trove-1.0.2-r1 (05 Aug 2006)
+
+  05 Aug 2006; Joshua Nichols <nichoj@gentoo.org> +trove-1.0.2-r1.ebuild:
+  Revision bump to support new Java system
 
   30 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> trove-1.0.2.ebuild:
   stable on amd64 and x86, added ~ppc to KEYWORDS. introduced support for the
index a79548e39ad2f5e066e6d4a0f62be30a4d78d26c..96df60842fa171cfb6d190c6ea983109a29aa30f 100644 (file)
@@ -1 +1,3 @@
 MD5 a246a09db112b7986b02c2a9f771bae0 trove-1.0.2.tar.gz 796214
+RMD160 eea63efda32940c59d8389eb3c88d36d74e378ba trove-1.0.2.tar.gz 796214
+SHA256 e9cd0cf7a19ea86bdb2b3ee192b457549b278ab3af5d5966b509c4eaccfdcaba trove-1.0.2.tar.gz 796214
diff --git a/dev-java/trove/files/digest-trove-1.0.2-r1 b/dev-java/trove/files/digest-trove-1.0.2-r1
new file mode 100644 (file)
index 0000000..96df608
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 a246a09db112b7986b02c2a9f771bae0 trove-1.0.2.tar.gz 796214
+RMD160 eea63efda32940c59d8389eb3c88d36d74e378ba trove-1.0.2.tar.gz 796214
+SHA256 e9cd0cf7a19ea86bdb2b3ee192b457549b278ab3af5d5966b509c4eaccfdcaba trove-1.0.2.tar.gz 796214
diff --git a/dev-java/trove/trove-1.0.2-r1.ebuild b/dev-java/trove/trove-1.0.2-r1.ebuild
new file mode 100644 (file)
index 0000000..af8b1d2
--- /dev/null
@@ -0,0 +1,46 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/trove/trove-1.0.2-r1.ebuild,v 1.1 2006/08/05 17:07:21 nichoj Exp $
+
+inherit java-pkg-2
+
+DESCRIPTION="GNU Trove: High performance collections for Java."
+SRC_URI="mirror://sourceforge/trove4j/${P}.tar.gz"
+HOMEPAGE="http://trove4j.sourceforge.net"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+       source? ( app-arch/zip )"
+IUSE="doc source"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       rm -f lib/*.jar
+       rm -fr javadocs/*
+}
+
+src_compile() {
+       mkdir build
+
+       cd src
+       ejavac -nowarn -d ${S}/build $(find -name "*.java")
+
+       if use doc ; then
+               mkdir ${S}/javadoc
+               javadoc -source $(java-pkg_get-source) -quiet -d ${S}/javadoc $(find * -type d | tr '/' '.')
+       fi
+
+       cd ${S}
+
+       jar cf lib/${PN}.jar -C build gnu || die "failed too make jar"
+}
+
+src_install() {
+       java-pkg_dojar lib/${PN}.jar
+       dodoc *.txt ChangeLog AUTHORS
+       use doc && java-pkg_dohtml -r javadoc
+       use source && java-pkg_dosrc src/*
+}