diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-09-23 04:41:50 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-09-23 04:41:50 +0000 |
commit | 6982f576268bb17b148db4801f0c9d26d9863d8e (patch) | |
tree | 8829c13b6c50f3e9dba28da22b352225b2736610 /dev-java | |
parent | Added java5 for dev-java/xstream (diff) | |
download | gentoo-2-6982f576268bb17b148db4801f0c9d26d9863d8e.tar.gz gentoo-2-6982f576268bb17b148db4801f0c9d26d9863d8e.tar.bz2 gentoo-2-6982f576268bb17b148db4801f0c9d26d9863d8e.zip |
Initial commit. Bug #92756
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/xstream/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/xstream/Manifest | 16 | ||||
-rw-r--r-- | dev-java/xstream/files/digest-xstream-1.2 | 3 | ||||
-rw-r--r-- | dev-java/xstream/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/xstream/xstream-1.2.ebuild | 67 |
5 files changed, 101 insertions, 0 deletions
diff --git a/dev-java/xstream/ChangeLog b/dev-java/xstream/ChangeLog new file mode 100644 index 000000000000..af0a3d97cf8c --- /dev/null +++ b/dev-java/xstream/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/xstream +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xstream/ChangeLog,v 1.1 2006/09/23 04:41:50 nichoj Exp $ + +*xstream-1.2 (23 Sep 2006) + + 23 Sep 2006; Joshua Nichols <nichoj@gentoo.org> +metadata.xml, + +xstream-1.2.ebuild: + Initial commit. Bug #92756 + diff --git a/dev-java/xstream/Manifest b/dev-java/xstream/Manifest new file mode 100644 index 000000000000..ca04ca3f5f78 --- /dev/null +++ b/dev-java/xstream/Manifest @@ -0,0 +1,16 @@ +DIST xstream-1.2.zip 5488349 RMD160 1f55cf75c8ed2cf2746727e3435b119c5caa1eff SHA1 e0713b355dea36be4951299e441ffd510eee6d19 SHA256 7536d9b1f2bf1c1b235d1a1114dbdae08a8ed5953b1fe7a2c760bf807770e26d +EBUILD xstream-1.2.ebuild 1416 RMD160 cac303055874be3308e316bbf22e0aa6045cd2ce SHA1 b06766e1b839618c0e4fe5315d451fb86ef5813c SHA256 cc25f063a35f4b9f6b6bde8d9de971d045c0431502423377969ff24b78be7ef8 +MD5 eaec0f5f849a7c4db6ea8f3690fe6cc5 xstream-1.2.ebuild 1416 +RMD160 cac303055874be3308e316bbf22e0aa6045cd2ce xstream-1.2.ebuild 1416 +SHA256 cc25f063a35f4b9f6b6bde8d9de971d045c0431502423377969ff24b78be7ef8 xstream-1.2.ebuild 1416 +MISC ChangeLog 263 RMD160 dc477ef57b1f963781a6f8e2a9da3e00fa1f7ac3 SHA1 390b959d8ce3926e655c34ef407df5c63ef5f5c8 SHA256 50d9018d3455d6b6e46b78d4191bda96184b4ab00e12b528e1827bbe90ab9b49 +MD5 c5249ebe45de2883117559c2c4ab0567 ChangeLog 263 +RMD160 dc477ef57b1f963781a6f8e2a9da3e00fa1f7ac3 ChangeLog 263 +SHA256 50d9018d3455d6b6e46b78d4191bda96184b4ab00e12b528e1827bbe90ab9b49 ChangeLog 263 +MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb +MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158 +RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158 +SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb metadata.xml 158 +MD5 6d138d9666f6785f28e28165c66e23d0 files/digest-xstream-1.2 229 +RMD160 9d60b66396216af85c361aef31f3780db784d222 files/digest-xstream-1.2 229 +SHA256 0e41d935f72c2fdf5a134ce035cb5da96c42f26777e1df3e2f6b8559d3676bc0 files/digest-xstream-1.2 229 diff --git a/dev-java/xstream/files/digest-xstream-1.2 b/dev-java/xstream/files/digest-xstream-1.2 new file mode 100644 index 000000000000..89340ca3b879 --- /dev/null +++ b/dev-java/xstream/files/digest-xstream-1.2 @@ -0,0 +1,3 @@ +MD5 488fd2742f2d9f2b8bfe9acd8bccd097 xstream-1.2.zip 5488349 +RMD160 1f55cf75c8ed2cf2746727e3435b119c5caa1eff xstream-1.2.zip 5488349 +SHA256 7536d9b1f2bf1c1b235d1a1114dbdae08a8ed5953b1fe7a2c760bf807770e26d xstream-1.2.zip 5488349 diff --git a/dev-java/xstream/metadata.xml b/dev-java/xstream/metadata.xml new file mode 100644 index 000000000000..7303cef96964 --- /dev/null +++ b/dev-java/xstream/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> diff --git a/dev-java/xstream/xstream-1.2.ebuild b/dev-java/xstream/xstream-1.2.ebuild new file mode 100644 index 000000000000..2bbd054b90c2 --- /dev/null +++ b/dev-java/xstream/xstream-1.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xstream/xstream-1.2.ebuild,v 1.1 2006/09/23 04:41:50 nichoj Exp $ + +inherit java-pkg-2 + +DESCRIPTION="A text-processing Java classes that serialize objects to XML and back again." +HOMEPAGE="http://xstream.codehaus.org/index.html" +SRC_URI="http://dist.codehaus.org/xstream/distributions/${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples java5 source" + +COMMON_DEPS=" + =dev-java/commons-lang-2.1* + =dev-java/cglib-2.1* + >=dev-java/dom4j-1.3 + dev-java/jsr173 + ~dev-java/jdom-1.0 + =dev-java/jmock-1.0* + dev-java/joda-time + dev-java/xom + >=dev-java/xpp3-1.1.3.4 +" +DEPEND="java5? ( >=virtual/jdk-1.5 ) + !java5? ( =virtual/jdk-1.4* ) + dev-java/ant-core + app-arch/unzip + source? ( app-arch/zip ) + ${COMMON_DEPS}" +RDEPEND=">=virtual/jre-1.4 + dev-java/jsr173 + ${COMMON_DEPS}" + +! use java5 && JAVA_PKG_NV_DEPEND="=virtual/jdk-1.4*" + +src_unpack() { + unpack ${A} + cd ${S}/lib + rm *.jar + java-pkg_jar-from jsr173 + java-pkg_jar-from cglib-2.1 + java-pkg_jar-from commons-lang-2.1 + java-pkg_jar-from dom4j-1 + java-pkg_jar-from jdom-1.0 + java-pkg_jar-from jmock-1.0 + java-pkg_jar-from joda-time + java-pkg_jar-from xom + java-pkg_jar-from xpp3 +} + +src_compile() { + eant jar $(use_doc javadocs) +} + +src_install() { + java-pkg_newjar ${P}.jar + + if use doc; then + java-pkg_dohtml *.html + java-pkg_dohtml -r docs/ + fi + use source && java-pkg_dosrc src/java/com +} + |