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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jun 17 13:40:55 2014 UTC (5 years ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
NM: Cleanup superseded ebuilds.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key )

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/excalibur-logger/excalibur-logger-2.1-r1.ebuild,v 1.1 2007/11/20 05:27:33 ali_bush Exp $
4
5 JAVA_PKG_IUSE="doc source"
6
7 inherit java-pkg-2 java-ant-2
8
9 DESCRIPTION="Logger from the Excalibur containerkit"
10 HOMEPAGE="http://excalibur.apache.org/containerkit.html"
11 SRC_URI="mirror://apache/${PN//-logger}/${PN}/source/${P}-src.tar.gz"
12
13 LICENSE="Apache-2.0"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16
17 IUSE=""
18
19 # Needs 2.1 of avalon-logkit
20 # which does not have the jms and javamail use flags
21 # that are needed for this package to build
22 CDEP="
23 =dev-java/avalon-logkit-2.1*
24 =dev-java/avalon-framework-4.2*
25 dev-java/log4j
26 =dev-java/servletapi-2.4*
27 java-virtuals/javamail
28 dev-java/sun-jms"
29
30 RDEPEND=">=virtual/jre-1.4
31 ${CDEP}"
32
33 DEPEND=">=virtual/jdk-1.4
34 dev-java/ant-core
35 ${CDEP}"
36
37 src_unpack() {
38 unpack ${A}
39 cd "${S}"
40 mkdir -p target/lib
41 cd target/lib
42 java-pkg_jar-from avalon-logkit-2.0
43 java-pkg_jar-from avalon-framework-4.2
44 java-pkg_jar-from log4j
45 java-pkg_jar-from servletapi-2.4
46 java-pkg_jar-from --virtual javamail
47 java-pkg_jar-from sun-jms
48 }
49
50 src_install() {
51 java-pkg_newjar target/${P}.jar
52 dodoc NOTICE.txt
53 use doc && java-pkg_dojavadoc dist/docs/api
54 use source && java-pkg_dosrc src/java/*
55 }

  ViewVC Help
Powered by ViewVC 1.1.20