diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2009-02-05 00:22:59 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2009-02-05 00:22:59 +0000 |
commit | 7fe9eeecebf6cad9f606ba2224e567e131596d28 (patch) | |
tree | 4ad8d90fc1f22d501904ead9fa6aeec17e678824 /dev-java/jettison | |
parent | Marking libmsn-4.0_beta4 ~ppc for bug 257114 (diff) | |
download | historical-7fe9eeecebf6cad9f606ba2224e567e131596d28.tar.gz historical-7fe9eeecebf6cad9f606ba2224e567e131596d28.tar.bz2 historical-7fe9eeecebf6cad9f606ba2224e567e131596d28.zip |
Initial addition from java-experimental. Fixes bug #257512. Ebuild written by Mike Weissman <mike@weisso.com>.
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.28-gentoo i686
Diffstat (limited to 'dev-java/jettison')
-rw-r--r-- | dev-java/jettison/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/jettison/Manifest | 15 | ||||
-rw-r--r-- | dev-java/jettison/files/build.xml | 63 | ||||
-rw-r--r-- | dev-java/jettison/jettison-1.0.ebuild | 41 | ||||
-rw-r--r-- | dev-java/jettison/metadata.xml | 16 |
5 files changed, 146 insertions, 0 deletions
diff --git a/dev-java/jettison/ChangeLog b/dev-java/jettison/ChangeLog new file mode 100644 index 000000000000..e3afcae00bbe --- /dev/null +++ b/dev-java/jettison/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/jettison +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jettison/ChangeLog,v 1.1 2009/02/05 00:22:59 betelgeuse Exp $ + +*jettison-1.0 (05 Feb 2009) + + 05 Feb 2009; Petteri Räty <betelgeuse@gentoo.org> +files/build.xml, + +metadata.xml, +jettison-1.0.ebuild: + Initial addition from java-experimental. Fixes bug #257512. Ebuild written + by Mike Weissman <mike@weisso.com>. + diff --git a/dev-java/jettison/Manifest b/dev-java/jettison/Manifest new file mode 100644 index 000000000000..7c9b16f9163f --- /dev/null +++ b/dev-java/jettison/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX build.xml 1632 RMD160 ee0b9247393b77755588bd59e84aacf2e4ea1537 SHA1 1c476b91474046de55238c48cd94a7f6d204b7af SHA256 6978d60d2e3f48309e06296803f9176dc9ba2b469ed1d3a0a5d4608c07e3bdd8 +DIST jettison-1.0-sources.jar 54344 RMD160 5f9bce341497b655abd3f56beeaf4e260034f9bc SHA1 9e3756e7ed7424f73a310e54088802f68e44ef03 SHA256 4e52b63e8c84718ed6e7ab75618825e970df3169fb999f38ea54ea8a8d88e23b +EBUILD jettison-1.0.ebuild 895 RMD160 8ff27779d5429edd0e2f47673b8fd8d9bba1fdc6 SHA1 7f5998de81edf551eac231ce4b20f9b3fe93069d SHA256 dc754f5e5c73346c8e65460e8eeadf9ecdd12f8eb8a45f142f5f1ee7fe933ba2 +MISC ChangeLog 466 RMD160 4daf5332f3104348652f5894d90dd33f8236a53d SHA1 03c431df21deeecd01bef9d4003ff27c7fe29e0b SHA256 e3495d801e2b079615dc2095709b2d156df996e6925b0988e34f94489b46dcce +MISC metadata.xml 539 RMD160 484bfb82066b98b9f1c979e3daa6665f074fef23 SHA1 f8475db72fa03aeae859cecb565f9542accd1bae SHA256 41af42c7ddd52b3382915a6d6f2a06c0c5e5a7d87b65c00a33d75691eccea5e3 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkmKMdAACgkQcxLzpIGCsLSRDgCgkVyd9yWOdukzw9oLDVGmz0TV +mEcAoJFW8L6ZqniX3Nyfoze/J1k6DtnC +=Jz/8 +-----END PGP SIGNATURE----- diff --git a/dev-java/jettison/files/build.xml b/dev-java/jettison/files/build.xml new file mode 100644 index 000000000000..b6b95dff7a2a --- /dev/null +++ b/dev-java/jettison/files/build.xml @@ -0,0 +1,63 @@ +<?xml version="1.0"?> + +<project name="jettison" default="jar" basedir="."> + <!-- some properties --> + <property name="src.dir" value="org/codehaus/jettison" /> + <property name="build.dir" value="build" /> + <property name="docs.dir" value="docs" /> + <property name="lib.dir" value="lib"/> + <property name="dist.dir" value="dist" /> + <property name="jarfile" value="${dist.dir}/jettison.jar" /> + <property name="pkg" value="${package.name}"/> + <property name="target.jdk" value="1.5" /> + + + <available file="${lib}" type="dir" property="libdir.exists"/> + + + <!-- init --> + <target name="init"> + <tstamp/> + <mkdir dir="${dist.dir}" /> + <mkdir dir="${build.dir}" /> + <mkdir dir="${docs.dir}" /> + </target> + + <!-- compile everything --> + <target name="compile" depends="init"> + <mkdir dir="${build.dir}" /> + <javac srcdir="${src.dir}" + destdir="${build.dir}" + source="${target.jdk}" + target="${target.jdk}" + classpath="${gentoo.classpath}"> + </javac> + </target> + + <!-- build the jar file --> + <target name="jar" depends="compile"> + <jar jarfile="${jarfile}" basedir="${build.dir}" /> + </target> + + <!-- generate javadocs --> + <target name="javadoc" depends="compile"> + <javadoc packagenames="org.*" + sourcepath="${src.dir}" + defaultexcludes="yes" + destdir="./${docs.dir}" + author="true" + version="true" + use="true" + windowtitle="${ant.project.name} API" > + <fileset dir="${src.dir}"/> + </javadoc> + </target> + + <!-- clean up --> + <target name="clean"> + <delete dir="${build.dir}" /> + <delete dir="${docs.dir}" /> + <delete dir="${dist.dir}" /> + </target> + +</project> diff --git a/dev-java/jettison/jettison-1.0.ebuild b/dev-java/jettison/jettison-1.0.ebuild new file mode 100644 index 000000000000..d8d3a81fc87b --- /dev/null +++ b/dev-java/jettison/jettison-1.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jettison/jettison-1.0.ebuild,v 1.1 2009/02/05 00:22:59 betelgeuse Exp $ + +EAPI=2 +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A JSON StAX implementation" +HOMEPAGE="http://jettison.codehaus.org/" +SRC_URI="http://repository.codehaus.org/org/codehaus/${PN}/${PN}/${PV}/${P}-sources.jar" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" + +COMMON_DEP="" + +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + ${COMMON_DEP}" + +#Don't need to make one +S="${WORKDIR}" + +src_prepare(){ + #no supplied Build file + cp -v "${FILESDIR}"/build.xml "${S}/build.xml" || die +} + +src_install() { + java-pkg_dojar dist/"${PN}.jar" + use doc && java-pkg_dojavadoc docs + use source && java-pkg_dosrc org +} + diff --git a/dev-java/jettison/metadata.xml b/dev-java/jettison/metadata.xml new file mode 100644 index 000000000000..ce736f710d02 --- /dev/null +++ b/dev-java/jettison/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <maintainer> + <email>mike@weisso.com</email> + <name>Mike Weissman</name> + </maintainer> + <longdescription lang="en"> + Jettison is a collection of Java APIs (like STaX and DOM) which read and + write JSON. This allows nearly transparent enablement of JSON based web + services in services frameworks like CXF or XML serialization frameworks + like XStream. + </longdescription> +</pkgmetadata> + |