summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Thomson <wltjr@gentoo.org>2007-02-13 22:33:15 +0000
committerWilliam Thomson <wltjr@gentoo.org>2007-02-13 22:33:15 +0000
commite7a9936a7a01e8665dde5fdf231ef9d511423b32 (patch)
tree0424b9a846cb4ac4aeb538302fa0a9b948e42b5e /dev-java/commons-modeler
parentStable on ppc; bug #166246. (diff)
downloadgentoo-2-e7a9936a7a01e8665dde5fdf231ef9d511423b32.tar.gz
gentoo-2-e7a9936a7a01e8665dde5fdf231ef9d511423b32.tar.bz2
gentoo-2-e7a9936a7a01e8665dde5fdf231ef9d511423b32.zip
Initial ebuild for 2.0, needs review and possible clean up. Minor API changes, did not justify slot IMHO. Mostly just a version bump from 1.1-r3
(Portage version: 2.1.2-r9)
Diffstat (limited to 'dev-java/commons-modeler')
-rw-r--r--dev-java/commons-modeler/ChangeLog9
-rw-r--r--dev-java/commons-modeler/commons-modeler-1.1-r3.ebuild4
-rw-r--r--dev-java/commons-modeler/commons-modeler-2.0.ebuild65
-rw-r--r--dev-java/commons-modeler/files/digest-commons-modeler-2.03
4 files changed, 78 insertions, 3 deletions
diff --git a/dev-java/commons-modeler/ChangeLog b/dev-java/commons-modeler/ChangeLog
index 92962a3a6218..ce6755add082 100644
--- a/dev-java/commons-modeler/ChangeLog
+++ b/dev-java/commons-modeler/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/commons-modeler
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/ChangeLog,v 1.20 2007/01/05 20:25:49 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/ChangeLog,v 1.21 2007/02/13 22:33:15 wltjr Exp $
+
+*commons-modeler-2.0 (13 Feb 2007)
+
+ 13 Feb 2007; William L. Thomson Jr. <wltjr@gentoo.org>
+ +commons-modeler-2.0.ebuild:
+ Initial ebuild for 2.0, needs review and possible clean up. Minor API
+ changes, did not justify slot IMHO. Mostly just a version bump from 1.1-r3
05 Jan 2007; Vlastimil Babka <caster@gentoo.org>
commons-modeler-1.1-r2.ebuild:
diff --git a/dev-java/commons-modeler/commons-modeler-1.1-r3.ebuild b/dev-java/commons-modeler/commons-modeler-1.1-r3.ebuild
index 9504a8d68d16..62a45a38bb06 100644
--- a/dev-java/commons-modeler/commons-modeler-1.1-r3.ebuild
+++ b/dev-java/commons-modeler/commons-modeler-1.1-r3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/commons-modeler-1.1-r3.ebuild,v 1.3 2006/12/27 19:40:19 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/commons-modeler-1.1-r3.ebuild,v 1.4 2007/02/13 22:33:15 wltjr Exp $
inherit java-pkg-2 java-ant-2
diff --git a/dev-java/commons-modeler/commons-modeler-2.0.ebuild b/dev-java/commons-modeler/commons-modeler-2.0.ebuild
new file mode 100644
index 000000000000..c31ddb13578d
--- /dev/null
+++ b/dev-java/commons-modeler/commons-modeler-2.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/commons-modeler-2.0.ebuild,v 1.1 2007/02/13 22:33:15 wltjr Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="A lib to make the setup of Java Management Extensions easier"
+SRC_URI="mirror://apache/jakarta/commons/modeler/source/${P}-src.tar.gz"
+HOMEPAGE="http://jakarta.apache.org/commons/modeler/"
+LICENSE="Apache-1.1"
+SLOT="0"
+
+# Provides ant tasks for ant to use
+RDEPEND=">=virtual/jre-1.4
+ =dev-java/mx4j-core-3*
+ >=dev-java/commons-logging-1.0.3
+ dev-java/ant-core
+ commons-digester? ( >=dev-java/commons-digester-1.4.1 )"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
+ source? ( app-arch/zip )"
+
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE="commons-digester doc source test"
+
+S=${WORKDIR}/${P}-src
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+# epatch "${FILESDIR}/1.1-commons-digester.patch"
+
+ # Setup the build environment
+ use commons-digester && echo "commons-digester.jar=$(java-pkg_getjar commons-digester commons-digester.jar)" >> build.properties
+ echo "commons-logging.jar=$(java-pkg_getjar commons-logging commons-logging.jar)" >> build.properties
+ echo "jmx.jar=$(java-pkg_getjar mx4j-core-3.0 mx4j.jar)" >> build.properties
+
+ # This is something the build.xml tries to run. Could of course package it
+ # separately using dolauncher. Use the demo target for this.
+ #use examples && echo "jmxtools.jar=$(java-pkg_getjar mx4j-tools-3.0 mx4j-tools.jar)" >> build.properties
+
+ #Probably only needed with 1.3
+ #echo "jaxp.xalan.jar=$(java-pkg_getjars xalan)" >> build.properties
+ mkdir dist
+}
+
+src_compile() {
+ eant $(use_doc) prepare jar
+}
+
+src_test() {
+ eant test -Djunit.jar=$(java-pkg_getjar --build-only junit junit.jar)
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+ dodoc RELEASE-NOTES.txt RELEASE-NOTES.txt
+ use doc && java-pkg_dohtml -r dist/docs/*
+ use source && java-pkg_dosrc src/java/*
+}
+pkg_postinst() {
+ elog "Changed to mx4j from sun-jmx due to fetch restrictions"
+ elog "If you don't like it tell us at java@gentoo.org"
+}
diff --git a/dev-java/commons-modeler/files/digest-commons-modeler-2.0 b/dev-java/commons-modeler/files/digest-commons-modeler-2.0
new file mode 100644
index 000000000000..39ef11c8fa61
--- /dev/null
+++ b/dev-java/commons-modeler/files/digest-commons-modeler-2.0
@@ -0,0 +1,3 @@
+MD5 43983c66113ddaa9880e4a7ea7d38db4 commons-modeler-2.0-src.tar.gz 115756
+RMD160 3b5165ade1b6f54b63100af210e44f86eb5e0499 commons-modeler-2.0-src.tar.gz 115756
+SHA256 3576b4703f6e851ac4b54d2f2347760248ceecb4a2586adc08d70223d3a0288a commons-modeler-2.0-src.tar.gz 115756