summaryrefslogtreecommitdiff
path: root/dev-java/sun-jmx
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/sun-jmx')
-rw-r--r--dev-java/sun-jmx/Manifest1
-rw-r--r--dev-java/sun-jmx/metadata.xml5
-rw-r--r--dev-java/sun-jmx/sun-jmx-1.2.1-r3.ebuild51
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-java/sun-jmx/Manifest b/dev-java/sun-jmx/Manifest
new file mode 100644
index 00000000000..e7ac5ba86d2
--- /dev/null
+++ b/dev-java/sun-jmx/Manifest
@@ -0,0 +1 @@
+DIST jmx-1_2_1-ri.zip 1624569 SHA256 cd61a03be89e169c8efc994e45517a91ed42c4b3fb35c728cb04c10a2b687819
diff --git a/dev-java/sun-jmx/metadata.xml b/dev-java/sun-jmx/metadata.xml
new file mode 100644
index 00000000000..838c00a4a44
--- /dev/null
+++ b/dev-java/sun-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>
diff --git a/dev-java/sun-jmx/sun-jmx-1.2.1-r3.ebuild b/dev-java/sun-jmx/sun-jmx-1.2.1-r3.ebuild
new file mode 100644
index 00000000000..7b35d4c6634
--- /dev/null
+++ b/dev-java/sun-jmx/sun-jmx-1.2.1-r3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+JAVA_PKG_IUSE="doc examples"
+
+inherit java-pkg-2
+
+MY_P=jmx-${PV//./_}
+DESCRIPTION="Java Management Extensions for managing and monitoring devices, applications, and services"
+HOMEPAGE="http://www.oracle.com/technetwork/java/javase/tech/javamanagement-140525.html"
+SRC_URI="${MY_P}-ri.zip"
+
+LICENSE="Oracle-BCLA-JavaSE"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip"
+RDEPEND=">=virtual/jre-1.4"
+RESTRICT="fetch"
+
+S="${WORKDIR}/${MY_P}-bin"
+
+DOWNLOADSITE="http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-plat-419418.html"
+
+src_compile() { :; }
+
+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_install() {
+ java-pkg_dojar lib/*.jar
+ if use doc; then
+ java-pkg_dojavadoc doc/api
+ java-pkg_dohtml -r doc/doc doc/index.html
+ fi
+ use examples && java-pkg_doexamples examples
+}