diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-08-14 20:11:22 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-08-14 20:11:22 +0000 |
commit | b7155dc5ba5d5f4f3c178c3a3835ea6eba3ac91f (patch) | |
tree | 1359cce6d0b14216ae90c99e5d0f9eaf3a02e278 /dev-java | |
parent | Remove old version, fix patch, see bug #140855. (diff) | |
download | gentoo-2-b7155dc5ba5d5f4f3c178c3a3835ea6eba3ac91f.tar.gz gentoo-2-b7155dc5ba5d5f4f3c178c3a3835ea6eba3ac91f.tar.bz2 gentoo-2-b7155dc5ba5d5f4f3c178c3a3835ea6eba3ac91f.zip |
Migrated to new Java build system.
(Portage version: 2.1.1_pre5)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/tagsoup/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/tagsoup/files/digest-tagsoup-0.10.2 | 2 | ||||
-rw-r--r-- | dev-java/tagsoup/files/digest-tagsoup-0.10.2-r1 | 3 | ||||
-rw-r--r-- | dev-java/tagsoup/tagsoup-0.10.2-r1.ebuild | 33 |
4 files changed, 46 insertions, 2 deletions
diff --git a/dev-java/tagsoup/ChangeLog b/dev-java/tagsoup/ChangeLog index 19a64fb0d053..6d79ad1f827b 100644 --- a/dev-java/tagsoup/ChangeLog +++ b/dev-java/tagsoup/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/tagsoup -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/tagsoup/ChangeLog,v 1.8 2005/07/09 16:08:18 axxo Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/tagsoup/ChangeLog,v 1.9 2006/08/14 20:11:22 nelchael Exp $ + +*tagsoup-0.10.2-r1 (14 Aug 2006) + + 14 Aug 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +tagsoup-0.10.2-r1.ebuild: + Migrated to new Java build system. 09 Jul 2005; Thomas Matthijs <axxo@gentoo.org> tagsoup-0.10.2.ebuild: small cleanups diff --git a/dev-java/tagsoup/files/digest-tagsoup-0.10.2 b/dev-java/tagsoup/files/digest-tagsoup-0.10.2 index 95e272b60e49..e7785dd528cc 100644 --- a/dev-java/tagsoup/files/digest-tagsoup-0.10.2 +++ b/dev-java/tagsoup/files/digest-tagsoup-0.10.2 @@ -1 +1,3 @@ MD5 3539441a49308924378ee9fea05bd6af tagsoup-0.10.2-src.zip 63115 +RMD160 4f1e6c5e56e50f742f460829952044b40c08bae8 tagsoup-0.10.2-src.zip 63115 +SHA256 40648a99e910769cf029a3e526f564f254bd05add803871387e5d0b1fa2affc1 tagsoup-0.10.2-src.zip 63115 diff --git a/dev-java/tagsoup/files/digest-tagsoup-0.10.2-r1 b/dev-java/tagsoup/files/digest-tagsoup-0.10.2-r1 new file mode 100644 index 000000000000..e7785dd528cc --- /dev/null +++ b/dev-java/tagsoup/files/digest-tagsoup-0.10.2-r1 @@ -0,0 +1,3 @@ +MD5 3539441a49308924378ee9fea05bd6af tagsoup-0.10.2-src.zip 63115 +RMD160 4f1e6c5e56e50f742f460829952044b40c08bae8 tagsoup-0.10.2-src.zip 63115 +SHA256 40648a99e910769cf029a3e526f564f254bd05add803871387e5d0b1fa2affc1 tagsoup-0.10.2-src.zip 63115 diff --git a/dev-java/tagsoup/tagsoup-0.10.2-r1.ebuild b/dev-java/tagsoup/tagsoup-0.10.2-r1.ebuild new file mode 100644 index 000000000000..3a5977686d94 --- /dev/null +++ b/dev-java/tagsoup/tagsoup-0.10.2-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/tagsoup/tagsoup-0.10.2-r1.ebuild,v 1.1 2006/08/14 20:11:22 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="This is the home page of TagSoup, a SAX-compliant parser written in Java that, instead of parsing well-formed or valid XML, parses HTML as it is found in the wild: nasty and brutish, though quite often far from short." + +HOMEPAGE="http://mercury.ccil.org/~cowan/XML/tagsoup/" +SRC_URI="http://mercury.ccil.org/~cowan/XML/tagsoup/${P}-src.zip" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="doc source" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + dev-java/ant + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.4" + +src_compile() { + local antflags="dist" + use doc && antflags="${antflags} docs-api" + eant ${antflags} || die "compile failed" +} + +src_install() { + java-pkg_newjar dist/lib/${P}.jar ${PN}.jar + + dodoc CHANGES README TODO + use doc && java-pkg_dohtml -r docs/* + use source && java-pkg_dosrc src/java/* +} |