summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-02-25 06:25:45 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-02-25 06:25:45 +0000
commit49c1e79868ddf952e66abb61bb03503f3aa4d04c (patch)
treef80bfb9adb42d87cdba0e82cb6b6ef57e109a1d5 /dev-java/jmx
parentFixed URI for firmware file (Manifest recommit) (diff)
downloadgentoo-2-49c1e79868ddf952e66abb61bb03503f3aa4d04c.tar.gz
gentoo-2-49c1e79868ddf952e66abb61bb03503f3aa4d04c.tar.bz2
gentoo-2-49c1e79868ddf952e66abb61bb03503f3aa4d04c.zip
Initial Import, closes #37927
Diffstat (limited to 'dev-java/jmx')
-rw-r--r--dev-java/jmx/ChangeLog8
-rw-r--r--dev-java/jmx/Manifest2
-rw-r--r--dev-java/jmx/files/digest-jmx-1.2.11
-rw-r--r--dev-java/jmx/jmx-1.2.1.ebuild45
-rw-r--r--dev-java/jmx/metadata.xml5
5 files changed, 61 insertions, 0 deletions
diff --git a/dev-java/jmx/ChangeLog b/dev-java/jmx/ChangeLog
new file mode 100644
index 000000000000..5e81db3aa111
--- /dev/null
+++ b/dev-java/jmx/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-java/jmx
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jmx/ChangeLog,v 1.1 2004/02/25 06:25:45 zx Exp $
+
+ 27 Feb 2004; Chris Aniszczyk <zx@gentoo.org> metadata.xml:
+ Initial Import.
+ Thanks to Greg Bowyer <bg115@gre.ac.uk> for the initial ebuild. Closes #37927
+
diff --git a/dev-java/jmx/Manifest b/dev-java/jmx/Manifest
new file mode 100644
index 000000000000..a88caabc460b
--- /dev/null
+++ b/dev-java/jmx/Manifest
@@ -0,0 +1,2 @@
+MD5 ed53815b63f3ba078100d701fe74108d jmx-1.2.1.ebuild 1196
+MD5 b075599e4253703c34d53059f8a7f587 files/digest-jmx-1.2.1 64
diff --git a/dev-java/jmx/files/digest-jmx-1.2.1 b/dev-java/jmx/files/digest-jmx-1.2.1
new file mode 100644
index 000000000000..b767ef1b2233
--- /dev/null
+++ b/dev-java/jmx/files/digest-jmx-1.2.1
@@ -0,0 +1 @@
+MD5 de1a800156998f4ef98bcdef4421f312 jmx-1_2_1-scsl.zip 2177550
diff --git a/dev-java/jmx/jmx-1.2.1.ebuild b/dev-java/jmx/jmx-1.2.1.ebuild
new file mode 100644
index 000000000000..8e8df662be33
--- /dev/null
+++ b/dev-java/jmx/jmx-1.2.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jmx/jmx-1.2.1.ebuild,v 1.1 2004/02/25 06:25:45 zx Exp $
+
+inherit java-pkg
+
+DESCRIPTION="Java Management Extensions for managing and monitoring devices, applications, and services."
+HOMEPAGE="http://java.sun.com/products/JavaManagement/index.jsp"
+SRC_URI="${PN}-${PV//./_}-scsl.zip"
+LICENSE="sun-csl"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="jikes doc"
+DEPEND=">=virtual/jdk-1.4"
+RDEPEND=">=virtual/jre-1.4"
+RESTRICT="fetch"
+
+S="${WORKDIR}/${P//./_}-src"
+
+DOWNLOADSITE="http://wwws.sun.com/software/communitysource/jmx/download.html"
+
+pkg_nofetch() {
+ einfo
+ einfo " Due to license restrictions, we cannot fetch the"
+ einfo " distributables automagically."
+ einfo " "
+ einfo " 1. Visit ${DOWNLOADSITE} and follow instructions"
+ einfo " 2. Download ${SRC_URI}"
+ einfo " 3. Move file to ${DISTDIR}"
+ einfo " 4. Run emerge on this package again to complete"
+ einfo
+}
+
+src_compile() {
+ local antflags="jar"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ use doc && antflags="${antflags} examples"
+ ant ${antflags}
+}
+
+src_install() {
+ java-pkg_dojar lib/*.jar
+ use doc && dohtml -r docs/*
+ use doc && dohtml -f examples/*
+}
diff --git a/dev-java/jmx/metadata.xml b/dev-java/jmx/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/jmx/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>