diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-29 17:21:33 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-29 17:21:33 +0000 |
commit | dc065b061b32572e2d5b85eb11f4c7dd69f3766a (patch) | |
tree | 0726a62465a7351d56dac97528eed2dd8bfe003e /dev-java | |
parent | Added missing DEPEND on app-arch/unzip for bug #141571 (diff) | |
download | gentoo-2-dc065b061b32572e2d5b85eb11f4c7dd69f3766a.tar.gz gentoo-2-dc065b061b32572e2d5b85eb11f4c7dd69f3766a.tar.bz2 gentoo-2-dc065b061b32572e2d5b85eb11f4c7dd69f3766a.zip |
Migrated to Generation 2.
(Portage version: 2.1.1_pre4)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/sax/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/sax/files/digest-sax-2.2.1 | 2 | ||||
-rw-r--r-- | dev-java/sax/files/digest-sax-2.2.1-r1 | 3 | ||||
-rw-r--r-- | dev-java/sax/sax-2.2.1-r1.ebuild | 39 |
4 files changed, 51 insertions, 2 deletions
diff --git a/dev-java/sax/ChangeLog b/dev-java/sax/ChangeLog index e5a3b7693a7e..d604aaaca304 100644 --- a/dev-java/sax/ChangeLog +++ b/dev-java/sax/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/sax -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/sax/ChangeLog,v 1.6 2005/05/14 21:51:23 luckyduck Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/sax/ChangeLog,v 1.7 2006/07/29 17:21:33 nelchael Exp $ + +*sax-2.2.1-r1 (29 Jul 2006) + + 29 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> +sax-2.2.1-r1.ebuild: + Migrated to Generation 2. 14 May 2005; Jan Brinkmann <luckyduck@gentoo.org> sax-2.2.1.ebuild: stable on amd64, ppc and x86 diff --git a/dev-java/sax/files/digest-sax-2.2.1 b/dev-java/sax/files/digest-sax-2.2.1 index 9adf139ec9a3..72c4e0c28303 100644 --- a/dev-java/sax/files/digest-sax-2.2.1 +++ b/dev-java/sax/files/digest-sax-2.2.1 @@ -1 +1,3 @@ MD5 06f9c6874bafd2e815aeb436f15491f3 sax2r3.zip 372488 +RMD160 93c0e1cd01b5d48f9463620d024f3127ffea4594 sax2r3.zip 372488 +SHA256 f9221ba55b3b753cf900ef64dc588a1d6b2716f63440b0f1ab55fe9deb418272 sax2r3.zip 372488 diff --git a/dev-java/sax/files/digest-sax-2.2.1-r1 b/dev-java/sax/files/digest-sax-2.2.1-r1 new file mode 100644 index 000000000000..72c4e0c28303 --- /dev/null +++ b/dev-java/sax/files/digest-sax-2.2.1-r1 @@ -0,0 +1,3 @@ +MD5 06f9c6874bafd2e815aeb436f15491f3 sax2r3.zip 372488 +RMD160 93c0e1cd01b5d48f9463620d024f3127ffea4594 sax2r3.zip 372488 +SHA256 f9221ba55b3b753cf900ef64dc588a1d6b2716f63440b0f1ab55fe9deb418272 sax2r3.zip 372488 diff --git a/dev-java/sax/sax-2.2.1-r1.ebuild b/dev-java/sax/sax-2.2.1-r1.ebuild new file mode 100644 index 000000000000..4a2c0f0a40bc --- /dev/null +++ b/dev-java/sax/sax-2.2.1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/sax/sax-2.2.1-r1.ebuild,v 1.1 2006/07/29 17:21:33 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="SAX is the Simple API for XML, originally a Java-only API. SAX was the first widely adopted API for XML in Java." + +HOMEPAGE="http://sax.sourceforge.net/" +SRC_URI="mirror://sourceforge/sax/sax2r3.zip" +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" +DEPEND=">=virtual/jdk-1.3 + app-arch/unzip + dev-java/ant" +RDEPEND=">=virtual/jre-1.3" + +S=${WORKDIR}/sax2r3 + +src_unpack() { + unpack ${A} + cd ${S} + rm -rf classes *.jar +} + +src_compile() { + local antflags="jar" + use doc && antflags="${antflags} javadoc" + eant ${antflags} || die "failed to compile" +} + +src_install() { + java-pkg_newjar sax2.jar ${PN}.jar + dodoc ChangeLog CHANGES README + + use doc && java-pkg_dohtml -r docs/javadoc/* +} |