diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-28 11:12:20 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-28 11:12:20 +0000 |
commit | 7e088fd50a12519dddc6ef25195bc0f749df013b (patch) | |
tree | 8a63f734d88142ab4687582347fed68f7a5b130e /dev-java/jaxme | |
parent | Version bump (diff) | |
download | gentoo-2-7e088fd50a12519dddc6ef25195bc0f749df013b.tar.gz gentoo-2-7e088fd50a12519dddc6ef25195bc0f749df013b.tar.bz2 gentoo-2-7e088fd50a12519dddc6ef25195bc0f749df013b.zip |
Revision bump to apply previous fix.
(Portage version: 2.1.1_pre3-r5)
Diffstat (limited to 'dev-java/jaxme')
-rw-r--r-- | dev-java/jaxme/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/jaxme/files/digest-jaxme-0.3.1-r2 | 3 | ||||
-rw-r--r-- | dev-java/jaxme/jaxme-0.3.1-r2.ebuild | 71 |
3 files changed, 81 insertions, 1 deletions
diff --git a/dev-java/jaxme/ChangeLog b/dev-java/jaxme/ChangeLog index 4a6e7391a093..aeba21b52d9e 100644 --- a/dev-java/jaxme/ChangeLog +++ b/dev-java/jaxme/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/jaxme # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxme/ChangeLog,v 1.9 2006/07/28 08:19:32 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxme/ChangeLog,v 1.10 2006/07/28 11:12:20 nelchael Exp $ + +*jaxme-0.3.1-r2 (28 Jul 2006) + + 28 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> -jaxme-0.3.1-r1.ebuild, + +jaxme-0.3.1-r2.ebuild: + Revision bump to apply previous fix. 28 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> jaxme-0.3.1-r1.ebuild: Fixed rewriting of build files, see bug #141940. diff --git a/dev-java/jaxme/files/digest-jaxme-0.3.1-r2 b/dev-java/jaxme/files/digest-jaxme-0.3.1-r2 new file mode 100644 index 000000000000..7b109d57d1e2 --- /dev/null +++ b/dev-java/jaxme/files/digest-jaxme-0.3.1-r2 @@ -0,0 +1,3 @@ +MD5 d7a595ac138582ff2592e6b7d2e5cade ws-jaxme-0.3.1-src.tar.gz 3058903 +RMD160 cd994b5fd9a15473ed7390b8911601b794f76cd0 ws-jaxme-0.3.1-src.tar.gz 3058903 +SHA256 9f02b233849ec10cda455c51d5bda46929f5fcbed237c5a5a760a19eb59e852c ws-jaxme-0.3.1-src.tar.gz 3058903 diff --git a/dev-java/jaxme/jaxme-0.3.1-r2.ebuild b/dev-java/jaxme/jaxme-0.3.1-r2.ebuild new file mode 100644 index 000000000000..6423202996dc --- /dev/null +++ b/dev-java/jaxme/jaxme-0.3.1-r2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxme/jaxme-0.3.1-r2.ebuild,v 1.1 2006/07/28 11:12:20 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 eutils + +MY_PN=ws-${PN} +MY_P=${MY_PN}-${PV} +DESCRIPTION="JaxMe 2 is an open source implementation of JAXB, the specification for Java/XML binding." +HOMEPAGE="http://ws.apache.org/jaxme/index.html" +SRC_URI="http://mirrors.combose.com/apache/ws/jaxme/source/${MY_P}-src.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc source" + +RDEPEND=">=virtual/jre-1.4 + dev-db/hsqldb + >=dev-java/xerces-2.6 + dev-java/junit + >=dev-java/log4j-1.2.8 + dev-java/xmldb" +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + ${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +# We do it later +JAVA_PKG_BSFIX="off" + +src_unpack() { + unpack ${A} + + cd ${S} + # Fix the build.xml so we can build jars and javadoc easily + epatch ${FILESDIR}/${P}-gentoo.patch + + cd ${S}/prerequisites + rm *.jar + java-pkg_jarfrom hsqldb hsqldb.jar hsqldb-1.7.1.jar + java-pkg_jarfrom junit + java-pkg_jarfrom log4j log4j.jar log4j-1.2.8.jar + java-pkg_jarfrom xerces-2 + java-pkg_jarfrom xmldb xmldb-api.jar xmldb-api-20021118.jar + java-pkg_jarfrom xmldb xmldb-api-sdk.jar xmldb-api-sdk-20021118.jar + + # Special case: jaxme uses build<foo>.xml files, so rewriting them by hand + # is better: + cd ${S} + for i in build*.xml src/webapp/build.xml src/test/jaxb/build.xml; do + java-ant_bsfix_one "${i}" + done +} + +src_compile() { + local antflags="jar" + use doc && antflags="${antflags} -Dbuild.apidocs=dist/doc/api javadoc" + + eant ${antflags} || die "Compilation failed" +} + +src_install() { + java-pkg_dojar dist/*.jar + + dodoc NOTICE + + use doc && java-pkg_dohtml -r dist/doc/api src/documentation/manual + use source && java-pkg_dosrc src/*/* +} |