Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-java
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-java@g.o
From: Ernst de Haan <wfe.dehaan@...>
Subject: Re: Installing Javadoc documentation with java-pkg_dohtml
Date: Wed, 21 Dec 2005 09:11:10 +0100
> While I'm at it, attached is the current version of my xmlenc ebuild.
> As this is my very first Ebuild, feedback is highly appreciated.

This time as a plain text .ebuild file. Comments are highly appreciated!


Ernst de Haan
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /cvsroot/xins/xins-ebuild/xins-1.3.0.ebuild,v 1.1 2005/12/16 13:03:19 znerd Exp $

inherit java-pkg eutils

DESCRIPTION="Performance-optimized XML output library for Java"
HOMEPAGE="http://xmlenc.sourceforge.net/"
SRC_URI="mirror://sourceforge/xmlenc/${P}.tgz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~amd64"
IUSE="debug doc jikes source"

RDEPEND=">=virtual/jre-1.3"

DEPEND=">=virtual/jdk-1.3
	>=dev-java/ant-core-1.6
	jikes? ( dev-java/jikes )
	source? ( app-arch/zip )"

src_compile() {
	local antflags="jar"
	use debug && antflags="-Djavac.debug=true ${antflags}"
	use jikes && antflags="-Dbuild.compiler=jikes ${antflags}"
	einfo "Ant flags: ${antflags}"
	ant ${antflags} || die "Compilation failed."
	use doc && ( ant javadoc || die "Javadoc generation failed." )
}

src_install() {
	java-pkg_dojar build/xmlenc.jar
	use doc && java-pkg_dohtml -r build/javadoc/*
	use source && java-pkg_dosrc src/main/*
}
Replies:
Re: Re: Installing Javadoc documentation with java-pkg_dohtml
-- Petteri R├Ąty
References:
Installing Javadoc documentation with java-pkg_dohtml
-- Ernst de Haan
Re: Installing Javadoc documentation with java-pkg_dohtml
-- Ernst de Haan
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: Installing Javadoc documentation with java-pkg_dohtml
Next by thread:
Re: Re: Installing Javadoc documentation with java-pkg_dohtml
Previous by date:
Re: Re: Installing Javadoc documentation with java-pkg_dohtml
Next by date:
Re: Re: Installing Javadoc documentation with java-pkg_dohtml


Updated Jun 17, 2009

Summary: Archive of the gentoo-java mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.