diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2009-05-13 23:30:39 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2009-05-13 23:30:39 +0000 |
commit | 3db709f955c13c281271d6a99f35bcf9b167d56f (patch) | |
tree | 64a7e98d7d1c14cd752c45919de34b22f2460279 /dev-java/jibx | |
parent | Migrate to the stax-api virtual. (diff) | |
download | gentoo-2-3db709f955c13c281271d6a99f35bcf9b167d56f.tar.gz gentoo-2-3db709f955c13c281271d6a99f35bcf9b167d56f.tar.bz2 gentoo-2-3db709f955c13c281271d6a99f35bcf9b167d56f.zip |
Migrate to the stax-api virtual.
(Portage version: 2.2_rc28/cvs/Linux i686)
Diffstat (limited to 'dev-java/jibx')
-rw-r--r-- | dev-java/jibx/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/jibx/jibx-1.1.5-r1.ebuild | 57 |
2 files changed, 63 insertions, 1 deletions
diff --git a/dev-java/jibx/ChangeLog b/dev-java/jibx/ChangeLog index b9bacf86990e..2bf9d2e3b895 100644 --- a/dev-java/jibx/ChangeLog +++ b/dev-java/jibx/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/jibx # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jibx/ChangeLog,v 1.8 2009/05/13 23:23:19 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jibx/ChangeLog,v 1.9 2009/05/13 23:30:39 betelgeuse Exp $ + +*jibx-1.1.5-r1 (13 May 2009) + + 13 May 2009; Petteri Räty <betelgeuse@gentoo.org> +jibx-1.1.5-r1.ebuild: + Migrate to the stax-api virtual. 13 May 2009; Petteri Räty <betelgeuse@gentoo.org> -jibx-1.1.3.ebuild: Remove old version. diff --git a/dev-java/jibx/jibx-1.1.5-r1.ebuild b/dev-java/jibx/jibx-1.1.5-r1.ebuild new file mode 100644 index 000000000000..e23322874525 --- /dev/null +++ b/dev-java/jibx/jibx-1.1.5-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jibx/jibx-1.1.5-r1.ebuild,v 1.1 2009/05/13 23:30:39 betelgeuse Exp $ + +EAPI="2" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 versionator + +MY_PV=$(replace_all_version_separators '_') + +DESCRIPTION="JiBX: Binding XML to Java Code" +HOMEPAGE="http://jibx.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}_${MY_PV}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +COMMON_DEP="dev-java/dom4j:1 + dev-java/ant-core:0 + dev-java/bcel:0 + java-virtuals/stax-api + dev-java/xpp3:0" + +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + ${COMMON_DEP}" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" + +S="${WORKDIR}/${PN}" + +java_prepare() { + cd lib || die + rm -v *.jar || die + java-pkg_jar-from ant-core,bcel,dom4j-1,stax-api,xpp3 +} + +EANT_BUILD_XML="build/build.xml" +EANT_BUILD_TARGET="small-jars" + +src_install() { + java-pkg_dojar "${S}"/lib/${PN}*.jar + + dodoc changes.txt docs/binding.dtd docs/binding.xsd || die + dohtml readme.html || die + + use doc && { + java-pkg_dohtml -r docs/* + cp -R starter "${D}/usr/share/doc/${PF}" + cp -R tutorial "${D}/usr/share/doc/${PF}" + } + + use source && java-pkg_dosrc build/src/* build/extras/* +} |