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