/[gentoo-x86]/dev-java/commons-launcher/commons-launcher-0.9.ebuild
Gentoo

Contents of /dev-java/commons-launcher/commons-launcher-0.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (show annotations) (download)
Wed Apr 25 19:37:00 2007 UTC (12 years, 2 months ago) by betelgeuse
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +1 -1 lines
FILE REMOVED
Remove generation 1 ebuild.
(Portage version: 2.1.2.4)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/commons-launcher/commons-launcher-0.9.ebuild,v 1.14 2006/10/05 15:28:34 gustavoz Exp $
4
5 inherit java-pkg
6
7 DESCRIPTION="Commons-launcher eliminates the need for a batch or shell script to launch a Java class."
8 HOMEPAGE="http://jakarta.apache.org/commons/launcher/"
9 SRC_URI="ftp://ftp.ibiblio.org/pub/mirrors/apache/jakarta/commons/launcher/source/launcher-0.9-src.tar.gz"
10 LICENSE="Apache-1.1"
11 SLOT="0"
12 KEYWORDS="amd64 ~ppc ppc64 x86"
13 IUSE="doc jikes source"
14 DEPEND=">=virtual/jdk-1.4
15 >=dev-java/ant-core-1.4
16 jikes? ( dev-java/jikes )
17 source? ( app-arch/zip )"
18 RDEPEND=">=virtual/jre-1.4"
19 S=${WORKDIR}/${PN}
20
21 src_compile() {
22 local antflags="jar"
23 use doc && antflags="${antflags} javadoc"
24 use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
25 ant ${antflags} || die "compilation problem"
26 }
27
28 src_install() {
29 java-pkg_dojar dist/bin/*.jar || die "java-pkg_dojar died"
30 dohtml *.html
31 use doc && java-pkg_dohtml -r dist/docs/*
32 use source && java-pkg_dosrc src/java/*
33 }

  ViewVC Help
Powered by ViewVC 1.1.20