New ebuild for version 0.9.4
Created attachment 55900 [details] Ebuild
Comment on attachment 55900 [details] Ebuild ># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-java/commons-logging/commons-logging-1.0.4.ebuild,v 1.13 2005/01/26 21:07:48 corsair Exp $ > >inherit java-pkg eutils > >DESCRIPTION="NekoHTML is a simple HTML scanner and tag balancer that enables >application programmers to parse HTML documents and access the information using >standard XML interfaces." > >HOMEPAGE="http://people.apache.org/~andyc/neko/doc/html/" > >SRC_URI="www.apache.org/~andyc/neko/${PN}-latest.tar.gz" >DEPEND="" >RDEPEND=">=virtual/jdk-1.3 > dev-java/xerces > dev-java/xalan" >LICENSE="CyberNeko Software License-1.0" >SLOT="0" >KEYWORDS="~x86 ~amd64" >IUSE="jikes doc test" > >S="${WORKDIR}/${PF}/" > >src_unpack() { > unpack ${A} > cd ${S} > rm lib/*.jar > epatch ${FILESDIR}/${PF}-build-html.xml.patch > echo "xerces.jar=$(java-config -p xerces-2)" > build.properties > echo "xalan.jar=$(java-config -p xalan)" >> build.properties >} > >src_compile() { > local antflags="-buildfile build-html.xml jar" > use jikes && antflags="${antflags} -Dbuild.compiler=jikes" > use doc && antflags="${antflags} doc" > use test && antflags="${antflags} test" > ant ${antflags} || die "compile problem" >} > >src_install() { > java-pkg_dojar ${PN}.jar ${PN}Samples.jar ${PN}Xni.jar > > dodoc LICENSE LICENSE_apache README_HTML TODO_html > use doc && java-pkg_dohtml -r doc/html >}
Created attachment 55903 [details] build xml patch
Created attachment 55904 [details] License file
Created attachment 59744 [details] Ebuild revisited I made a few changes to clean it up the ebuild a little: * Fixed header * Changed SRC_URI to include a version, instead of latest. You can't tell from the website, but there is a nekohtml-0.9.4.tar.gz. This will avoid possible problems if a new release comes out. * Added ant and jdk to DEPEND, and changed RDEPEND from jdk to jre * Added version to dependency of xerces (=dev-java/xerces-2* ) * Now deletes prebuilt jars using ant clean, instead of deleting them with rm * No longer installs LICENSE files
Now maintained in the experimental overlay.
Added to cvs.