diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2005-06-29 18:31:59 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2005-06-29 18:31:59 +0000 |
commit | 13304146fac8744ec778648248b157208e2a04c1 (patch) | |
tree | b4540b394c04bf26301b5e16a19d9b1998e647b8 /dev-java/jaxme | |
parent | new packages, dep of dom4j, ebuild contributed by Josh Nichols <nichoj@alum.r... (diff) | |
download | gentoo-2-13304146fac8744ec778648248b157208e2a04c1.tar.gz gentoo-2-13304146fac8744ec778648248b157208e2a04c1.tar.bz2 gentoo-2-13304146fac8744ec778648248b157208e2a04c1.zip |
new packages, dep of dom4j, ebuild contributed by Josh Nichols <nichoj@alum.rpi.edu>
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/jaxme')
-rw-r--r-- | dev-java/jaxme/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/jaxme/Manifest | 3 | ||||
-rw-r--r-- | dev-java/jaxme/files/digest-jaxme-0.3.1 | 1 | ||||
-rw-r--r-- | dev-java/jaxme/files/jaxme-0.3.1-gentoo.patch | 41 | ||||
-rw-r--r-- | dev-java/jaxme/jaxme-0.3.1.ebuild | 61 | ||||
-rw-r--r-- | dev-java/jaxme/metadata.xml | 5 |
6 files changed, 122 insertions, 0 deletions
diff --git a/dev-java/jaxme/ChangeLog b/dev-java/jaxme/ChangeLog new file mode 100644 index 000000000000..77a0d3adf8d8 --- /dev/null +++ b/dev-java/jaxme/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/jaxme +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxme/ChangeLog,v 1.1 2005/06/29 18:31:59 axxo Exp $ + +*jaxme-0.3.1 (29 Jun 2005) + + 29 Jun 2005; Thomas Matthijs <axxo@gentoo.org> + +files/jaxme-0.3.1-gentoo.patch, +metadata.xml, +jaxme-0.3.1.ebuild: + new packages, dep of dom4j, ebuild contributed by Josh Nichols + <nichoj@alum.rpi.edu> + diff --git a/dev-java/jaxme/Manifest b/dev-java/jaxme/Manifest new file mode 100644 index 000000000000..3f9449c2ef56 --- /dev/null +++ b/dev-java/jaxme/Manifest @@ -0,0 +1,3 @@ +MD5 487cd07da880e98f4f0c5d36bfeb8d71 jaxme-0.3.1.ebuild 1698 +MD5 8039a2f19bcc273d417ec48d00bbe87a files/jaxme-0.3.1-gentoo.patch 1771 +MD5 853d4cf0c1e2efc633bcfad8ade239e2 files/digest-jaxme-0.3.1 71 diff --git a/dev-java/jaxme/files/digest-jaxme-0.3.1 b/dev-java/jaxme/files/digest-jaxme-0.3.1 new file mode 100644 index 000000000000..48249823160f --- /dev/null +++ b/dev-java/jaxme/files/digest-jaxme-0.3.1 @@ -0,0 +1 @@ +MD5 d7a595ac138582ff2592e6b7d2e5cade ws-jaxme-0.3.1-src.tar.gz 3058903 diff --git a/dev-java/jaxme/files/jaxme-0.3.1-gentoo.patch b/dev-java/jaxme/files/jaxme-0.3.1-gentoo.patch new file mode 100644 index 000000000000..c51a33c713c7 --- /dev/null +++ b/dev-java/jaxme/files/jaxme-0.3.1-gentoo.patch @@ -0,0 +1,41 @@ +diff -ru ws-jaxme-0.3.1/build.xml ws-jaxme-0.3.1-patched/build.xml +--- ws-jaxme-0.3.1/build.xml 2004-09-02 18:41:58.000000000 -0400 ++++ ws-jaxme-0.3.1-patched/build.xml 2005-06-26 22:59:39.000000000 -0400 +@@ -157,9 +157,8 @@ + <target name="doc" depends="javadoc,docbook.html,forrest,replace" + description="Generates the documentation"/> + +- <target name="javadoc" depends="init,all" ++ <target name="javadoc" depends="init" + description="Generates the API documentation"> +- <delete dir="${build.apidocs}"/> + <mkdir dir="${build.apidocs}"/> + <javadoc + access="protected" +@@ -189,8 +188,8 @@ + <pathelement location="${src.js}"/> + <pathelement location="${src.jm}"/> + <pathelement location="${src.pm}"/> +- <pathelement location="${build.js.src}"/> +- <pathelement location="${build.jm.src}"/> ++ <!--pathelement location="${build.js.src}"/> ++ <pathelement location="${build.jm.src}"/--> + </sourcepath> + </javadoc> + </target> +@@ -245,6 +244,15 @@ + <delete dir="${dist}"/> + </target> + ++ <target name="jar"> ++ ++ <ant antfile="buildapi.xml" target="jar" inheritall="false" inheritrefs="false"/> ++ <ant antfile="buildxs.xml" target="jar" inheritall="false" inheritrefs="false"/> ++ <ant antfile="buildjs.xml" target="jar" inheritall="false" inheritrefs="false"/> ++ <ant antfile="buildjm.xml" target="compile" inheritall="false" inheritrefs="false"/> ++ <ant antfile="buildpm.xml" target="compile" inheritall="false" inheritrefs="false"/> ++ </target> ++ + <target name="all"> + <ant antfile="buildapi.xml" target="all" inheritall="false" inheritrefs="false"/> + <ant antfile="buildxs.xml" target="all" inheritall="false" inheritrefs="false"/> diff --git a/dev-java/jaxme/jaxme-0.3.1.ebuild b/dev-java/jaxme/jaxme-0.3.1.ebuild new file mode 100644 index 000000000000..40c4633d77b6 --- /dev/null +++ b/dev-java/jaxme/jaxme-0.3.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxme/jaxme-0.3.1.ebuild,v 1.1 2005/06/29 18:31:59 axxo Exp $ + +inherit java-pkg eutils + +MY_PN=ws-${PN} +MY_P=${MY_PN}-${PV} +DESCRIPTION="JaxMe 2 is an open source implementation of JAXB, the specification for Java/XML binding." +HOMEPAGE="http://ws.apache.org/jaxme/index.html" +SRC_URI="http://mirrors.combose.com/apache/ws/jaxme/source/${MY_P}-src.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc source" + +RDEPEND=">=virtual/jre-1.4 + dev-db/hsqldb + =dev-java/xerces-2* + dev-java/xmldb" +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + dev-java/junit + ${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + + cd ${S} + # Fix the build.xml so we can build jars and javadoc easily + epatch ${FILESDIR}/${P}-gentoo.patch + + cd ${S}/prerequisites + rm *.jar + java-pkg_jarfrom hsqldb hsqldb.jar hsqldb-1.7.1.jar + java-pkg_jarfrom junit + java-pkg_jarfrom log4j log4j.jar log4j-1.2.8.jar + java-pkg_jarfrom xerces-2 + java-pkg_jarfrom xmldb xmldb-api.jar xmldb-api-20021118.jar + java-pkg_jarfrom xmldb xmldb-api-sdk.jar xmldb-api-sdk-20021118.jar +} + +src_compile() { + local antflags="jar" +# use jikes && antflags="-Dbuild.compiler=jikes ${antflags}" + use doc && antflags="${antflags} -Dbuild.apidocs=dist/doc/api javadoc" + + ant ${antflags} || die "Compilation failed" +} + +src_install() { + java-pkg_dojar dist/*.jar + + dodoc NOTICE + + use doc && java-pkg_dohtml -r dist/doc/api src/documentation/manual + use source && java-pkg_dosrc src/*/* +} diff --git a/dev-java/jaxme/metadata.xml b/dev-java/jaxme/metadata.xml new file mode 100644 index 000000000000..7303cef96964 --- /dev/null +++ b/dev-java/jaxme/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> |