diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2009-04-04 23:07:32 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2009-04-04 23:07:32 +0000 |
commit | 378b83bf874c7579cdfc905ef4b66ee26dae4eef (patch) | |
tree | b923bce0bd96bb0c47e49b8f025e44907df2dd38 /dev-java/xsd2jibx | |
parent | Remove old version. (diff) | |
download | gentoo-2-378b83bf874c7579cdfc905ef4b66ee26dae4eef.tar.gz gentoo-2-378b83bf874c7579cdfc905ef4b66ee26dae4eef.tar.bz2 gentoo-2-378b83bf874c7579cdfc905ef4b66ee26dae4eef.zip |
Remove unneeded dependency on ant-core and migrate to EAPI 2.
(Portage version: 2.2_rc27/cvs/Linux i686)
Diffstat (limited to 'dev-java/xsd2jibx')
-rw-r--r-- | dev-java/xsd2jibx/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/xsd2jibx/xsd2jibx-0.2a_beta-r1.ebuild | 54 |
2 files changed, 62 insertions, 2 deletions
diff --git a/dev-java/xsd2jibx/ChangeLog b/dev-java/xsd2jibx/ChangeLog index 00b00b94400c..ffcce6c812ae 100644 --- a/dev-java/xsd2jibx/ChangeLog +++ b/dev-java/xsd2jibx/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/xsd2jibx -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xsd2jibx/ChangeLog,v 1.3 2007/05/26 17:21:32 nelchael Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xsd2jibx/ChangeLog,v 1.4 2009/04/04 23:07:32 betelgeuse Exp $ + +*xsd2jibx-0.2a_beta-r1 (04 Apr 2009) + + 04 Apr 2009; Petteri Räty <betelgeuse@gentoo.org> + +xsd2jibx-0.2a_beta-r1.ebuild: + Remove unneeded dependency on ant-core and migrate to EAPI 2. 26 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> xsd2jibx-0.2a_beta.ebuild: diff --git a/dev-java/xsd2jibx/xsd2jibx-0.2a_beta-r1.ebuild b/dev-java/xsd2jibx/xsd2jibx-0.2a_beta-r1.ebuild new file mode 100644 index 000000000000..df276f55f03b --- /dev/null +++ b/dev-java/xsd2jibx/xsd2jibx-0.2a_beta-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xsd2jibx/xsd2jibx-0.2a_beta-r1.ebuild,v 1.1 2009/04/04 23:07:32 betelgeuse Exp $ + +EAPI="2" +JAVA_PKG_IUSE="doc source" +inherit java-pkg-2 java-ant-2 + +MY_PV="beta2a" + +DESCRIPTION="JiBX binding and code from schema generator" +HOMEPAGE="http://jibx.sourceforge.net/xsd2jibx/" +SRC_URI="mirror://sourceforge/jibx/${PN}-${MY_PV}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +COMMON_DEP="dev-java/commons-logging + dev-java/xpp3 + dev-java/jaxme + dev-java/jibx + =dev-java/commons-lang-2.0*" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + ${COMMON_DEP}" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" + +S="${WORKDIR}/${PN}" + +java_prepare() { + cp "${FILESDIR}/build.xml" . + # patch from freemind authors, freemind won't build without it + # they sent upstream (that's how I found it) which said he's preparing + # complete rewrite. It only adds non-abstract functionality. + epatch "${FILESDIR}/${P}-freemind.patch" + + cd "${S}/lib" + rm -v *.jar || die + java-pkg_jar-from commons-logging,xpp3,jaxme,jibx,commons-lang +} + +EANT_ANT_TASKS="jibx" +EANT_EXTRA_ARGS="-Djibxhome=/usr/share/jibx/" + +src_install() { + java-pkg_dojar lib/${PN}.jar + + dohtml -R docs/* + use doc && java-pkg_dojavadoc api + use source && java-pkg_dosrc src/main/org +} |