diff options
author | Serkan Kaba <serkan@gentoo.org> | 2008-10-05 16:41:46 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2008-10-05 16:41:46 +0000 |
commit | c0183c41ac4b4d70792fd47b78b2ec0ce0cb4aa6 (patch) | |
tree | 52b837ae0ea87cb0ba7618d65678641e739ebaef /dev-java/xmlstreambuffer | |
parent | Migrate to stax-api virtual. (diff) | |
download | gentoo-2-c0183c41ac4b4d70792fd47b78b2ec0ce0cb4aa6.tar.gz gentoo-2-c0183c41ac4b4d70792fd47b78b2ec0ce0cb4aa6.tar.bz2 gentoo-2-c0183c41ac4b4d70792fd47b78b2ec0ce0cb4aa6.zip |
Migrate to stax-api virtual.
(Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'dev-java/xmlstreambuffer')
-rw-r--r-- | dev-java/xmlstreambuffer/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/xmlstreambuffer/xmlstreambuffer-0.5.20070412-r2.ebuild | 57 |
2 files changed, 64 insertions, 1 deletions
diff --git a/dev-java/xmlstreambuffer/ChangeLog b/dev-java/xmlstreambuffer/ChangeLog index ba2223ee059a..aaa16f08abfa 100644 --- a/dev-java/xmlstreambuffer/ChangeLog +++ b/dev-java/xmlstreambuffer/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/xmlstreambuffer # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlstreambuffer/ChangeLog,v 1.7 2008/07/19 00:21:28 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlstreambuffer/ChangeLog,v 1.8 2008/10/05 16:41:46 serkan Exp $ + +*xmlstreambuffer-0.5.20070412-r2 (05 Oct 2008) + + 05 Oct 2008; Serkan Kaba <serkan@gentoo.org> + +xmlstreambuffer-0.5.20070412-r2.ebuild: + Migrate to stax-api virtual. *xmlstreambuffer-0.5.20070412-r1 (19 Jul 2008) diff --git a/dev-java/xmlstreambuffer/xmlstreambuffer-0.5.20070412-r2.ebuild b/dev-java/xmlstreambuffer/xmlstreambuffer-0.5.20070412-r2.ebuild new file mode 100644 index 000000000000..3860d3627c68 --- /dev/null +++ b/dev-java/xmlstreambuffer/xmlstreambuffer-0.5.20070412-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlstreambuffer/xmlstreambuffer-0.5.20070412-r2.ebuild,v 1.1 2008/10/05 16:41:46 serkan Exp $ + +JAVA_PKG_IUSE="source" + +inherit java-pkg-2 java-ant-2 versionator + +MY_PV=$(replace_version_separator 2 '_') +DESCRIPTION="Mechanisms to create and processs stream buffers using standard XML APIs." +HOMEPAGE="https://xmlstreambuffer.dev.java.net/" +SRC_URI="https://xmlstreambuffer.dev.java.net/files/documents/4258/55235/StreamBufferPackage_src_${MY_PV}_033857.zip" + +LICENSE="CDDL" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="" + +COMMON_DEP="java-virtuals/stax-api + java-virtuals/jaf + dev-java/stax-ex" +DEPEND=">=virtual/jdk-1.5 + ${COMMON_DEP}" +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" + +S="${WORKDIR}/streambuffer" + +EANT_GENTOO_CLASSPATH="stax-api,jaf,stax-ex" + +src_unpack() { + + unpack ${A} + + rm -vr "${S}/build" || die + + cd "${S}/dist" || die + rm -v *.jar || die + + cd "${S}/lib" || die + rm -v *.jar || die + cd "${S}" || die + java-ant_rewrite-classpath nbproject/build-impl.xml +} + +src_compile() { + # This "clean" is needed! + eant clean + java-pkg-2_src_compile +} + +src_install() { + java-pkg_dojar dist/streambuffer.jar + + use source && java-pkg_dosrc src/* + +} |