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
> 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/*
}
|
|