/[gentoo-x86]/dev-java/excalibur-logger/excalibur-logger-2.1-r2.ebuild
Gentoo

Contents of /dev-java/excalibur-logger/excalibur-logger-2.1-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Jun 29 12:44:14 2015 UTC (3 years, 11 months ago) by monsieurp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Complete dev-java/excalibur-logger removal. See bug 550326.

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/excalibur-logger/excalibur-logger-2.1-r2.ebuild,v 1.3 2009/07/05 20:01:44 maekke Exp $
4
5 EAPI="2"
6 JAVA_PKG_IUSE="doc source"
7
8 inherit java-pkg-2 java-ant-2
9
10 DESCRIPTION="Logger from the Excalibur containerkit"
11 HOMEPAGE="http://excalibur.apache.org/containerkit.html"
12 SRC_URI="mirror://apache/${PN//-logger}/${PN}/source/${P}-src.tar.gz"
13
14 LICENSE="Apache-2.0"
15 SLOT="0"
16 KEYWORDS="amd64 x86"
17
18 IUSE=""
19
20 # Needs 2.1 of avalon-logkit
21 # which does not have the jms and javamail use flags
22 # that are needed for this package to build
23 CDEP="
24 dev-java/avalon-logkit:2.0
25 dev-java/avalon-framework:4.2
26 dev-java/log4j:0
27 dev-java/servletapi:2.4
28 java-virtuals/javamail
29 java-virtuals/jms"
30
31 RDEPEND=">=virtual/jre-1.4
32 ${CDEP}"
33
34 DEPEND=">=virtual/jdk-1.4
35 ${CDEP}"
36
37 java_prepare() {
38 mkdir -p target/lib
39 cd target/lib
40 java-pkg_jar-from avalon-logkit-2.0
41 java-pkg_jar-from avalon-framework-4.2
42 java-pkg_jar-from log4j
43 java-pkg_jar-from servletapi-2.4
44 java-pkg_jar-from --virtual javamail
45 java-pkg_jar-from --virtual jms
46 }
47
48 src_install() {
49 java-pkg_newjar target/${P}.jar
50 dodoc NOTICE.txt || die
51 use doc && java-pkg_dojavadoc dist/docs/api
52 use source && java-pkg_dosrc src/java/*
53 }

  ViewVC Help
Powered by ViewVC 1.1.20