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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat May 5 13:42:10 2007 UTC (12 years, 1 month ago) by betelgeuse
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
The ebuild was hard coding 0.9 to SRC_URI so it wasn't a version bump at all. Fixed that and added examples use flag, changed LICENSE to Apache-2.0 and used mirror://apache.
(Portage version: 2.1.2.5)

1 # Copyright 1999-2007 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-1.1.ebuild,v 1.2 2007/04/25 19:33:41 betelgeuse Exp $
4
5 JAVA_PKG_IUSE="doc source"
6
7 inherit java-pkg-2 java-ant-2
8
9 DESCRIPTION="Commons-launcher eliminates the need for a batch or shell script to launch a Java class."
10 HOMEPAGE="http://jakarta.apache.org/commons/launcher/"
11 SRC_URI="ftp://ftp.ibiblio.org/pub/mirrors/apache/jakarta/commons/launcher/source/launcher-0.9-src.tar.gz"
12 LICENSE="Apache-1.1"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
15
16 DEPEND=">=virtual/jdk-1.4"
17 RDEPEND=">=virtual/jre-1.4
18 dev-java/ant-core"
19
20 S=${WORKDIR}/${PN}
21
22 src_compile() {
23 java-ant_rewrite-classpath "${S}/build.xml"
24 EANT_GENTOO_CLASSPATH="ant-core" java-pkg-2_src_compile
25 }
26
27 src_install() {
28 java-pkg_dojar dist/bin/*.jar || die "java-pkg_dojar died"
29 dodoc RELEASE-NOTES.txt || die
30 dohtml *.html || die
31 use doc && java-pkg_dojavadoc dist/docs/api
32 use source && java-pkg_dosrc src/java/*
33 }

  ViewVC Help
Powered by ViewVC 1.1.20