summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2007-11-20 05:27:33 +0000
committerAlistair Bush <ali_bush@gentoo.org>2007-11-20 05:27:33 +0000
commit803447a173e4cd1d36f3d10c8381d3ae12a1d6e4 (patch)
tree3f981844a3a24262a7cadde4d2101b8f7e165a01 /dev-java/excalibur-logger/excalibur-logger-2.1-r1.ebuild
parentStable on mips, per #195253. (diff)
downloadhistorical-803447a173e4cd1d36f3d10c8381d3ae12a1d6e4.tar.gz
historical-803447a173e4cd1d36f3d10c8381d3ae12a1d6e4.tar.bz2
historical-803447a173e4cd1d36f3d10c8381d3ae12a1d6e4.zip
Bumping to support javamail virtual.
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'dev-java/excalibur-logger/excalibur-logger-2.1-r1.ebuild')
-rw-r--r--dev-java/excalibur-logger/excalibur-logger-2.1-r1.ebuild55
1 files changed, 55 insertions, 0 deletions
diff --git a/dev-java/excalibur-logger/excalibur-logger-2.1-r1.ebuild b/dev-java/excalibur-logger/excalibur-logger-2.1-r1.ebuild
new file mode 100644
index 000000000000..a3f99e45c319
--- /dev/null
+++ b/dev-java/excalibur-logger/excalibur-logger-2.1-r1.ebuild
@@ -0,0 +1,55 @@
+# 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-r1.ebuild,v 1.1 2007/11/20 05:27:33 ali_bush Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+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=""
+
+# 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*
+ java-virtuals/javamail
+ dev-java/sun-jms"
+
+RDEPEND=">=virtual/jre-1.4
+ ${CDEP}"
+
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core
+ ${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 --virtual 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/*
+}