summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-07-22 23:01:24 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-07-22 23:01:24 +0000
commitb9bf2805a6babb668604b08269c97e04b89d2271 (patch)
treeaf892cac1dfeaa2e0f5dd0345f8c3b33b275dda5 /dev-java/commons-modeler
parentMigrated to Generation 2. (diff)
downloadgentoo-2-b9bf2805a6babb668604b08269c97e04b89d2271.tar.gz
gentoo-2-b9bf2805a6babb668604b08269c97e04b89d2271.tar.bz2
gentoo-2-b9bf2805a6babb668604b08269c97e04b89d2271.zip
Migrated to Generation 2.
(Portage version: 2.1.1_pre3-r3)
Diffstat (limited to 'dev-java/commons-modeler')
-rw-r--r--dev-java/commons-modeler/ChangeLog10
-rw-r--r--dev-java/commons-modeler/commons-modeler-1.1-r1.ebuild51
-rw-r--r--dev-java/commons-modeler/files/digest-commons-modeler-1.12
-rw-r--r--dev-java/commons-modeler/files/digest-commons-modeler-1.1-r13
4 files changed, 64 insertions, 2 deletions
diff --git a/dev-java/commons-modeler/ChangeLog b/dev-java/commons-modeler/ChangeLog
index f43ecfd97ac1..c542e24afe9f 100644
--- a/dev-java/commons-modeler/ChangeLog
+++ b/dev-java/commons-modeler/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/commons-modeler
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/ChangeLog,v 1.13 2005/10/15 11:42:40 axxo Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/ChangeLog,v 1.14 2006/07/22 23:01:24 nelchael Exp $
+
+*commons-modeler-1.1-r1 (22 Jul 2006)
+
+ 22 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ +commons-modeler-1.1-r1.ebuild:
+ Migrated to Generation 2.
15 Oct 2005; Thomas Matthijs <axxo@gentoo.org> commons-modeler-1.1.ebuild:
move dev-java/jmx dev-java/sun-jmx
diff --git a/dev-java/commons-modeler/commons-modeler-1.1-r1.ebuild b/dev-java/commons-modeler/commons-modeler-1.1-r1.ebuild
new file mode 100644
index 000000000000..f3c8bfca39b5
--- /dev/null
+++ b/dev-java/commons-modeler/commons-modeler-1.1-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2006 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-r1.ebuild,v 1.1 2006/07/22 23:01:24 nelchael 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/modeler-1.1-src.tar.gz"
+HOMEPAGE="http://jakarta.apache.org/commons/modeler/"
+LICENSE="Apache-1.1"
+SLOT="0"
+RDEPEND=">=virtual/jre-1.4
+ >=dev-java/sun-jmx-1.2.1
+ >=dev-java/commons-logging-1.0.3
+ >=dev-java/commons-digester-1.4.1
+ >=dev-java/xalan-2.5.1"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
+ source? ( app-arch/zip )"
+
+KEYWORDS="~amd64 ~ppc64 ~sparc ~x86"
+IUSE="doc source"
+
+S=${WORKDIR}/${P}-src
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Setup the build environment
+ 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 sun-jmx jmxri.jar)" >> build.properties
+ echo "jmxtools.jar=$(java-pkg_getjar sun-jmx jmxtools.jar)" >> build.properties
+ echo "jaxp.xalan.jar=$(java-pkg_getjars xalan)" >> build.properties
+ echo "junit.jar=$(java-pkg_getjars junit)" >> build.properties
+ mkdir dist
+}
+
+src_compile() {
+ local antflags="prepare jar"
+ use doc && antflags="${antflags} javadoc"
+ eant ${antflags} || die "compile problem"
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+ dodoc RELEASE-NOTES-1.1.txt RELEASE-NOTES.txt
+ use doc && java-pkg_dohtml -r docs/*
+ use source && java-pkg_dosrc src/java/*
+}
diff --git a/dev-java/commons-modeler/files/digest-commons-modeler-1.1 b/dev-java/commons-modeler/files/digest-commons-modeler-1.1
index c54f1a021080..29c15fe941b8 100644
--- a/dev-java/commons-modeler/files/digest-commons-modeler-1.1
+++ b/dev-java/commons-modeler/files/digest-commons-modeler-1.1
@@ -1 +1,3 @@
MD5 6de043186a348758c845f1a2321e8308 modeler-1.1-src.tar.gz 92211
+RMD160 dd1d1548784ff4fbc5549294b7a6bed16e319803 modeler-1.1-src.tar.gz 92211
+SHA256 41146b9e3614eda22064fbdde457750608b0cbc0ff2d904a39c5938b165fc2e7 modeler-1.1-src.tar.gz 92211
diff --git a/dev-java/commons-modeler/files/digest-commons-modeler-1.1-r1 b/dev-java/commons-modeler/files/digest-commons-modeler-1.1-r1
new file mode 100644
index 000000000000..29c15fe941b8
--- /dev/null
+++ b/dev-java/commons-modeler/files/digest-commons-modeler-1.1-r1
@@ -0,0 +1,3 @@
+MD5 6de043186a348758c845f1a2321e8308 modeler-1.1-src.tar.gz 92211
+RMD160 dd1d1548784ff4fbc5549294b7a6bed16e319803 modeler-1.1-src.tar.gz 92211
+SHA256 41146b9e3614eda22064fbdde457750608b0cbc0ff2d904a39c5938b165fc2e7 modeler-1.1-src.tar.gz 92211