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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sun Aug 10 20:11:34 2014 UTC (4 years, 10 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 # Copyright 1999-2014 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-r1.ebuild,v 1.6 2011/12/19 12:14:25 sera Exp $
4
5 JAVA_PKG_IUSE="examples doc source"
6
7 inherit base 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://commons.apache.org/launcher/"
11 SRC_URI="mirror://apache/jakarta/${PN/-//}/source/${P}-src.tar.gz"
12 LICENSE="Apache-2.0"
13 SLOT="0"
14 KEYWORDS="amd64 ~ppc ppc64 x86 ~x86-fbsd"
15 IUSE=""
16
17 DEPEND=">=virtual/jdk-1.4"
18 RDEPEND=">=virtual/jre-1.4
19 dev-java/ant-core"
20
21 S=${WORKDIR}/${PN}
22
23 # https://issues.apache.org/jira/browse/LAUNCHER-7
24 PATCHES=( "${FILESDIR}/1.1-javadoc.patch" )
25
26 src_compile() {
27 java-ant_rewrite-classpath "${S}/build.xml"
28 EANT_GENTOO_CLASSPATH="ant-core" java-pkg-2_src_compile
29 }
30
31 # Standard commons build.xml but no tests actually implemented
32 src_test() { :; }
33
34 src_install() {
35 java-pkg_dojar dist/bin/*.jar || die "java-pkg_dojar died"
36 dodoc README.txt NOTICE.txt || die
37 use doc && java-pkg_dojavadoc dist/docs/api
38 use examples && java-pkg_doexamples example
39 use source && java-pkg_dosrc src/java/*
40 }

  ViewVC Help
Powered by ViewVC 1.1.20