summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2007-01-20 22:37:20 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2007-01-20 22:37:20 +0000
commitc4aa959810d4a82e19c1e3b7a9eb49d07c6ccc7f (patch)
tree1151a56a87d6d48b333f561886f395b8ac277a34 /dev-java/rome
parentGenerate soname for installed lib. (diff)
downloadgentoo-2-c4aa959810d4a82e19c1e3b7a9eb49d07c6ccc7f.tar.gz
gentoo-2-c4aa959810d4a82e19c1e3b7a9eb49d07c6ccc7f.tar.bz2
gentoo-2-c4aa959810d4a82e19c1e3b7a9eb49d07c6ccc7f.zip
Initial ebuild, moved from java overlay, also see bug #159398
(Portage version: 2.1.2-r1)
Diffstat (limited to 'dev-java/rome')
-rw-r--r--dev-java/rome/ChangeLog7
-rw-r--r--dev-java/rome/Manifest20
-rw-r--r--dev-java/rome/files/digest-rome-0.93
-rw-r--r--dev-java/rome/files/rome-0.9-build.xml-test-upstream.patch17
-rw-r--r--dev-java/rome/metadata.xml8
-rw-r--r--dev-java/rome/rome-0.9.ebuild52
6 files changed, 107 insertions, 0 deletions
diff --git a/dev-java/rome/ChangeLog b/dev-java/rome/ChangeLog
new file mode 100644
index 000000000000..46a20722bbc5
--- /dev/null
+++ b/dev-java/rome/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for dev-java/rome
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/rome/ChangeLog,v 1.1 2007/01/20 22:37:20 fordfrog Exp $
+
+ 20 Jan 2007; Miroslav Šulc <fordfrog@gentoo.org> ChangeLog:
+ Initial ebuild, moved from java overlay, also see bug #159398.
+
diff --git a/dev-java/rome/Manifest b/dev-java/rome/Manifest
new file mode 100644
index 000000000000..3e79116ab52e
--- /dev/null
+++ b/dev-java/rome/Manifest
@@ -0,0 +1,20 @@
+AUX rome-0.9-build.xml-test-upstream.patch 527 RMD160 6ee49d678a52253e70873d1a0deb77b7fa7bc2c5 SHA1 0e9de53fbb5e16657e308d4e909fd9fc27c56d39 SHA256 fc1771d6487d4f37c0f60ac33f50f6d9caa6a4e1b8db82a457e2f9fe1f6e40dd
+MD5 b7b90458d6d427951fd962f0e7293ad8 files/rome-0.9-build.xml-test-upstream.patch 527
+RMD160 6ee49d678a52253e70873d1a0deb77b7fa7bc2c5 files/rome-0.9-build.xml-test-upstream.patch 527
+SHA256 fc1771d6487d4f37c0f60ac33f50f6d9caa6a4e1b8db82a457e2f9fe1f6e40dd files/rome-0.9-build.xml-test-upstream.patch 527
+DIST rome-0.9-src.zip 248755 RMD160 0e687ef34b3c2355bd041cb5bc92a666e8d5d50f SHA1 9039adfe835cd5542a5fb49c826d028afa8f7712 SHA256 c8e8674de5b204d02ce8b5e33fa5f848f23ee4e4746c60ebc7ccf52a1ac97a4f
+EBUILD rome-0.9.ebuild 1146 RMD160 d163755618712ab190b9e4280e7ad7425a841f45 SHA1 69dabecdaf7bc52a0342bc6d111c6776393888e3 SHA256 ba9b30bac4ab5a94a948d2a02debffa7edac07c2142966febac69118cdcb0f5e
+MD5 f1090b832ad7232c1b6c68b9ffd3903e rome-0.9.ebuild 1146
+RMD160 d163755618712ab190b9e4280e7ad7425a841f45 rome-0.9.ebuild 1146
+SHA256 ba9b30bac4ab5a94a948d2a02debffa7edac07c2142966febac69118cdcb0f5e rome-0.9.ebuild 1146
+MISC ChangeLog 243 RMD160 79fa27e3da9cb61850533bb6c920023850a290cd SHA1 ed0d9c6c6c94609e6bb2bb731dd11fc3b8ecec4f SHA256 969459630031c55ae3e6c24cabeca4b1aa69de127d8b11652780049427ded856
+MD5 80f0f158e0b1a240caf7fb5d5c8723b5 ChangeLog 243
+RMD160 79fa27e3da9cb61850533bb6c920023850a290cd ChangeLog 243
+SHA256 969459630031c55ae3e6c24cabeca4b1aa69de127d8b11652780049427ded856 ChangeLog 243
+MISC metadata.xml 217 RMD160 6a03b58e975ef9766c1ba359b8cf73372aae1409 SHA1 9661e29f710f8b88d1ebad0d7cfa2716ae869b51 SHA256 00a5772b0da0819b665dba21d321e4e2393c818907d38678d179cafd5036c7f2
+MD5 a28ef1dbcd9ec5d985e36f5b538891b5 metadata.xml 217
+RMD160 6a03b58e975ef9766c1ba359b8cf73372aae1409 metadata.xml 217
+SHA256 00a5772b0da0819b665dba21d321e4e2393c818907d38678d179cafd5036c7f2 metadata.xml 217
+MD5 7d1717043da3e3f33ae5455ba27005aa files/digest-rome-0.9 229
+RMD160 23ff8d5669b4a015fcdb998d599eab52fa0c94fb files/digest-rome-0.9 229
+SHA256 6b8360898dbae9b5624ae89da7e8a79fc0b13b0307eb67531d885f4a4009be0c files/digest-rome-0.9 229
diff --git a/dev-java/rome/files/digest-rome-0.9 b/dev-java/rome/files/digest-rome-0.9
new file mode 100644
index 000000000000..a7e7cb8bd1fb
--- /dev/null
+++ b/dev-java/rome/files/digest-rome-0.9
@@ -0,0 +1,3 @@
+MD5 717a9ef33e5adeffa6465ee8014ed631 rome-0.9-src.zip 248755
+RMD160 0e687ef34b3c2355bd041cb5bc92a666e8d5d50f rome-0.9-src.zip 248755
+SHA256 c8e8674de5b204d02ce8b5e33fa5f848f23ee4e4746c60ebc7ccf52a1ac97a4f rome-0.9-src.zip 248755
diff --git a/dev-java/rome/files/rome-0.9-build.xml-test-upstream.patch b/dev-java/rome/files/rome-0.9-build.xml-test-upstream.patch
new file mode 100644
index 000000000000..95e53f4f7f73
--- /dev/null
+++ b/dev-java/rome/files/rome-0.9-build.xml-test-upstream.patch
@@ -0,0 +1,17 @@
+===================================================================
+RCS file: /opt/sourcecast/data/ccvs/repository/rome/build.xml,v
+retrieving revision 1.14
+retrieving revision 1.15
+diff -u -r1.14 -r1.15
+--- rome/build.xml 2006/12/04 21:47:37 1.14
++++ rome/build.xml 2006/12/26 14:35:46 1.15
+@@ -131,6 +131,9 @@
+ <fileset dir="src/data">
+ <include name="**/*.xml" />
+ </fileset>
++ <fileset dir="src/test">
++ <include name="**/*.properties" />
++ </fileset>
+ </copy>
+ </target>
+
diff --git a/dev-java/rome/metadata.xml b/dev-java/rome/metadata.xml
new file mode 100644
index 000000000000..407583277d87
--- /dev/null
+++ b/dev-java/rome/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+<maintainer>
+ <email>java@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-java/rome/rome-0.9.ebuild b/dev-java/rome/rome-0.9.ebuild
new file mode 100644
index 000000000000..ed0efd61d546
--- /dev/null
+++ b/dev-java/rome/rome-0.9.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/rome/rome-0.9.ebuild,v 1.1 2007/01/20 22:37:20 fordfrog Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="An open source set of Atom/RSS Java utilities that make it easy to work in Java with most syndication formats"
+HOMEPAGE="https://rome.dev.java.net/"
+SRC_URI="https://rome.dev.java.net/source/browse/*checkout*/rome/www/dist/${P}-src.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc source test"
+
+COMMON_DEPEND=">=dev-java/jdom-1.0"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ source? ( app-arch/zip )
+ test? (
+ dev-java/ant
+ =dev-java/junit-3.8*
+ )
+ !test? ( dev-java/ant-core )
+ ${COMMON_DEPEND}"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Patch build.xml so the tests pass
+ epatch ${FILESDIR}/${P}-build.xml-test-upstream.patch
+
+ # Symlink jars
+ mkdir -p target/lib
+ cd target/lib
+ java-pkg_jar-from jdom-1.0
+ use test && java-pkg_jar-from junit
+}
+
+src_install() {
+ java-pkg_newjar target/${P}.jar
+
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc src/java/*
+}
+
+src_test() {
+ eant test
+}