diff options
11 files changed, 169 insertions, 3 deletions
diff --git a/dev-java/commons-lang/ChangeLog b/dev-java/commons-lang/ChangeLog index fff41948bc4d..10c145ca7785 100644 --- a/dev-java/commons-lang/ChangeLog +++ b/dev-java/commons-lang/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/commons-lang -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/ChangeLog,v 1.28 2005/10/01 08:24:41 axxo Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/ChangeLog,v 1.29 2006/07/19 21:43:31 nelchael Exp $ + +*commons-lang-2.1-r1 (19 Jul 2006) +*commons-lang-2.0-r2 (19 Jul 2006) + + 19 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +commons-lang-2.0-r2.ebuild, +commons-lang-2.1-r1.ebuild: + Migrated to Generation 2. *commons-lang-2.1 (01 Oct 2005) diff --git a/dev-java/commons-lang/commons-lang-2.0-r2.ebuild b/dev-java/commons-lang/commons-lang-2.0-r2.ebuild new file mode 100644 index 000000000000..8bf10a180da6 --- /dev/null +++ b/dev-java/commons-lang/commons-lang-2.0-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/commons-lang-2.0-r2.ebuild,v 1.1 2006/07/19 21:43:31 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Jakarta components to manipulate core java classes" +HOMEPAGE="http://jakarta.apache.org/commons/lang/" +SRC_URI="mirror://apache/jakarta/commons/lang/source/${P}-src.tar.gz" +DEPEND=">=virtual/jdk-1.3 + >=dev-java/ant-core-1.4" +RDEPEND=">=virtual/jre-1.3" +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc source" + +S="${WORKDIR}/${P}-src" + +src_compile() { + local antflags="jar" + use doc && antflags="${antflags} javadoc" + eant ${antflags} || die "compilation failed" +} + +src_install() { + java-pkg_newjar dist/${P}.jar ${PN}.jar + + if use doc; then + dodoc RELEASE-NOTES.txt + java-pkg_dohtml DEVELOPERS-GUIDE.html PROPOSAL.html STATUS.html + java-pkg_dohtml -r dist/docs/ + fi + use source && java-pkg_dosrc src/java/* +} diff --git a/dev-java/commons-lang/commons-lang-2.1-r1.ebuild b/dev-java/commons-lang/commons-lang-2.1-r1.ebuild new file mode 100644 index 000000000000..49728ae12613 --- /dev/null +++ b/dev-java/commons-lang/commons-lang-2.1-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/commons-lang-2.1-r1.ebuild,v 1.1 2006/07/19 21:43:31 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Jakarta components to manipulate core java classes" +HOMEPAGE="http://jakarta.apache.org/commons/lang/" +SRC_URI="mirror://apache/jakarta/commons/lang/source/${P}-src.tar.gz" +DEPEND=">=virtual/jdk-1.3 + >=dev-java/ant-core-1.6" +RDEPEND=">=virtual/jre-1.3" +LICENSE="Apache-2.0" +SLOT="2.1" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc source" + +src_compile() { + local antflags="jar" + use doc && antflags="${antflags} javadoc" + ant ${antflags} || die "compilation failed" +} + +src_install() { + java-pkg_newjar dist/${P}.jar ${PN}.jar + + if use doc; then + dodoc RELEASE-NOTES.txt + java-pkg_dohtml DEVELOPERS-GUIDE.html PROPOSAL.html STATUS.html + java-pkg_dohtml -r dist/docs/ + fi + use source && java-pkg_dosrc src/java/* +} diff --git a/dev-java/commons-lang/files/digest-commons-lang-2.0-r1 b/dev-java/commons-lang/files/digest-commons-lang-2.0-r1 index 372fd0253970..152fed4dac13 100644 --- a/dev-java/commons-lang/files/digest-commons-lang-2.0-r1 +++ b/dev-java/commons-lang/files/digest-commons-lang-2.0-r1 @@ -1 +1,3 @@ MD5 200a40d46fe6a60af76acf973298b8fe commons-lang-2.0-src.tar.gz 440989 +RMD160 ad1fe25af86ad838441a7f3020200cdfc9b142c2 commons-lang-2.0-src.tar.gz 440989 +SHA256 40e159aa08b4561472056d369c1b4e347f251fd088a3045999e57f4ab50f34f2 commons-lang-2.0-src.tar.gz 440989 diff --git a/dev-java/commons-lang/files/digest-commons-lang-2.0-r2 b/dev-java/commons-lang/files/digest-commons-lang-2.0-r2 new file mode 100644 index 000000000000..152fed4dac13 --- /dev/null +++ b/dev-java/commons-lang/files/digest-commons-lang-2.0-r2 @@ -0,0 +1,3 @@ +MD5 200a40d46fe6a60af76acf973298b8fe commons-lang-2.0-src.tar.gz 440989 +RMD160 ad1fe25af86ad838441a7f3020200cdfc9b142c2 commons-lang-2.0-src.tar.gz 440989 +SHA256 40e159aa08b4561472056d369c1b4e347f251fd088a3045999e57f4ab50f34f2 commons-lang-2.0-src.tar.gz 440989 diff --git a/dev-java/commons-lang/files/digest-commons-lang-2.1 b/dev-java/commons-lang/files/digest-commons-lang-2.1 index 210d75375f35..9b1bd7ec46b0 100644 --- a/dev-java/commons-lang/files/digest-commons-lang-2.1 +++ b/dev-java/commons-lang/files/digest-commons-lang-2.1 @@ -1 +1,3 @@ MD5 d8379e93f597b2ae6d1f7b4bb7e83fce commons-lang-2.1-src.tar.gz 373908 +RMD160 b236492f0a7a99f8abf01cf1bd6a41461fd99dfd commons-lang-2.1-src.tar.gz 373908 +SHA256 945ddc3cd7bb2fdc508cbb896734874883545597f549ddc301b4749caefa86e9 commons-lang-2.1-src.tar.gz 373908 diff --git a/dev-java/commons-lang/files/digest-commons-lang-2.1-r1 b/dev-java/commons-lang/files/digest-commons-lang-2.1-r1 new file mode 100644 index 000000000000..9b1bd7ec46b0 --- /dev/null +++ b/dev-java/commons-lang/files/digest-commons-lang-2.1-r1 @@ -0,0 +1,3 @@ +MD5 d8379e93f597b2ae6d1f7b4bb7e83fce commons-lang-2.1-src.tar.gz 373908 +RMD160 b236492f0a7a99f8abf01cf1bd6a41461fd99dfd commons-lang-2.1-src.tar.gz 373908 +SHA256 945ddc3cd7bb2fdc508cbb896734874883545597f549ddc301b4749caefa86e9 commons-lang-2.1-src.tar.gz 373908 diff --git a/dev-java/werken-xpath/ChangeLog b/dev-java/werken-xpath/ChangeLog index bd0a5ffaab46..db4ab6b68f1c 100644 --- a/dev-java/werken-xpath/ChangeLog +++ b/dev-java/werken-xpath/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/werken-xpath # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/werken-xpath/ChangeLog,v 1.4 2006/03/22 06:29:58 wormo Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/werken-xpath/ChangeLog,v 1.5 2006/07/19 21:39:07 nelchael Exp $ + +*werken-xpath-0.9.4_beta-r1 (19 Jul 2006) + + 19 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +werken-xpath-0.9.4_beta-r1.ebuild: + Migrated to Generation 2. 21 Mar 2006; Stephanie Lockwood-Childs <wormo@gentoo.org> werken-xpath-0.9.4_beta.ebuild: diff --git a/dev-java/werken-xpath/files/digest-werken-xpath-0.9.4_beta b/dev-java/werken-xpath/files/digest-werken-xpath-0.9.4_beta index 99f0b3aaf949..57991410c3ea 100644 --- a/dev-java/werken-xpath/files/digest-werken-xpath-0.9.4_beta +++ b/dev-java/werken-xpath/files/digest-werken-xpath-0.9.4_beta @@ -1 +1,3 @@ MD5 966840130d5eed4fcab962d89be91ff1 werken.xpath-0.9.4-beta-src.tar.gz 1652916 +RMD160 fe2476c538e9e0a54cc40959c534c9267a953623 werken.xpath-0.9.4-beta-src.tar.gz 1652916 +SHA256 e0d649230f3fa07f0860a355adde20e1ee08ba1a7809f00cb938b9b0dc3f76f3 werken.xpath-0.9.4-beta-src.tar.gz 1652916 diff --git a/dev-java/werken-xpath/files/digest-werken-xpath-0.9.4_beta-r1 b/dev-java/werken-xpath/files/digest-werken-xpath-0.9.4_beta-r1 new file mode 100644 index 000000000000..57991410c3ea --- /dev/null +++ b/dev-java/werken-xpath/files/digest-werken-xpath-0.9.4_beta-r1 @@ -0,0 +1,3 @@ +MD5 966840130d5eed4fcab962d89be91ff1 werken.xpath-0.9.4-beta-src.tar.gz 1652916 +RMD160 fe2476c538e9e0a54cc40959c534c9267a953623 werken.xpath-0.9.4-beta-src.tar.gz 1652916 +SHA256 e0d649230f3fa07f0860a355adde20e1ee08ba1a7809f00cb938b9b0dc3f76f3 werken.xpath-0.9.4-beta-src.tar.gz 1652916 diff --git a/dev-java/werken-xpath/werken-xpath-0.9.4_beta-r1.ebuild b/dev-java/werken-xpath/werken-xpath-0.9.4_beta-r1.ebuild new file mode 100644 index 000000000000..dce0c45b4907 --- /dev/null +++ b/dev-java/werken-xpath/werken-xpath-0.9.4_beta-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/werken-xpath/werken-xpath-0.9.4_beta-r1.ebuild,v 1.1 2006/07/19 21:39:07 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 eutils versionator + +MY_PN=${PN//-/.} +MY_PV=$(replace_version_separator 3 '-') +MY_P="${MY_PN}-${MY_PV}" +DESCRIPTION="W3C XPath-Rec implementation for DOM4J" +HOMEPAGE="http://sourceforge.net/projects/werken-xpath/" +SRC_URI="mirror://gentoo/${MY_P}-src.tar.gz" +# This tarball was acquired from jpackage's src rpm of the package by the same +# name + +LICENSE="werken.xpath" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc source" + +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + dev-java/antlr + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.4 + ~dev-java/jdom-1.0_beta9" + +S="${WORKDIR}/${MY_PN}" + +ant_src_unpack() { + unpack ${A} + cd ${S} + + # Courtesy of JPackages :) + epatch ${FILESDIR}/${P}-jpp-compile.patch + epatch ${FILESDIR}/${P}-jpp-jdom.patch + epatch ${FILESDIR}/${P}-jpp-tests.patch + epatch ${FILESDIR}/${P}-gentoo.patch + + cd ${S}/lib + # In here we have ant starter scripts + rm -fr bin + rm -f *.jar + + # compile target needs these + java-pkg_jar-from jdom-1.0_beta9 + java-pkg_jar-from antlr +} + +src_compile() { + local antflags="package" + + # java.class.path is used by the prepare.grammars target that + # runs antlr + local jdomjars="$(java-pkg_getjars jdom-1.0_beta9)" + local antlrjars="$(java-pkg_getjars antlr)" + local antflags="${antflags} -Djava.class.path=${jdomjars}:${antlrjars}" + + use doc && antflags="${antflags} javadoc -Dbuild.javadocs=build/api" + + eant ${antflags} || die "compile failed" +} + +src_install() { + java-pkg_dojar build/${MY_PN}.jar + + dodoc README TODO LIMITATIONS + use doc && java-pkg_dohtml -r build/api + use source && java-pkg_dosrc src/* +} |