diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-07-19 00:21:28 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-07-19 00:21:28 +0000 |
commit | 2a1c03bb64337a60ae35f248d444d260d116059e (patch) | |
tree | 6aab1c458c5fb66376f90f5db062baafb2f8272e /dev-java/xmlstreambuffer | |
parent | Remove a bunch of unneeded dependencies. (diff) | |
download | gentoo-2-2a1c03bb64337a60ae35f248d444d260d116059e.tar.gz gentoo-2-2a1c03bb64337a60ae35f248d444d260d116059e.tar.bz2 gentoo-2-2a1c03bb64337a60ae35f248d444d260d116059e.zip |
Remove unneeded dependency on sjsxp and migrate to the jaf virtual.
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r5 i686)
Diffstat (limited to 'dev-java/xmlstreambuffer')
-rw-r--r-- | dev-java/xmlstreambuffer/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/xmlstreambuffer/xmlstreambuffer-0.5.20070412-r1.ebuild | 57 |
2 files changed, 64 insertions, 1 deletions
diff --git a/dev-java/xmlstreambuffer/ChangeLog b/dev-java/xmlstreambuffer/ChangeLog index ff124b2b5af0..ba2223ee059a 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.6 2008/03/28 18:07:21 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlstreambuffer/ChangeLog,v 1.7 2008/07/19 00:21:28 betelgeuse Exp $ + +*xmlstreambuffer-0.5.20070412-r1 (19 Jul 2008) + + 19 Jul 2008; Petteri Räty <betelgeuse@gentoo.org> + +xmlstreambuffer-0.5.20070412-r1.ebuild: + Remove unneeded dependency on sjsxp and migrate to the jaf virtual. 28 Mar 2008; nixnut <nixnut@gentoo.org> xmlstreambuffer-0.5.20070412.ebuild: diff --git a/dev-java/xmlstreambuffer/xmlstreambuffer-0.5.20070412-r1.ebuild b/dev-java/xmlstreambuffer/xmlstreambuffer-0.5.20070412-r1.ebuild new file mode 100644 index 000000000000..ec2e8359af5c --- /dev/null +++ b/dev-java/xmlstreambuffer/xmlstreambuffer-0.5.20070412-r1.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-r1.ebuild,v 1.1 2008/07/19 00:21:28 betelgeuse 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="dev-java/jsr173 + java-virtuals/jaf + dev-java/stax-ex" +DEPEND=">=virtual/jdk-1.5 + ${COMMON_DEP}" +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" + +S="${WORKDIR}/streambuffer" + +src_unpack() { + + unpack ${A} + + rm -vr "${S}/build" || die + + cd "${S}/dist" + rm -v *.jar || die + + cd "${S}/lib" + rm -v *.jar || die + + java-pkg_jar-from jsr173 jsr173.jar jsr173_api.jar + java-pkg_jar-from stax-ex + java-pkg_jar-from jaf +} + +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/* + +} |