summaryrefslogtreecommitdiff
path: root/dev-java/jvmstat
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/jvmstat
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/jvmstat')
-rw-r--r--dev-java/jvmstat/Manifest3
-rw-r--r--dev-java/jvmstat/jvmstat-3.0.ebuild54
-rw-r--r--dev-java/jvmstat/metadata.xml8
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-java/jvmstat/Manifest b/dev-java/jvmstat/Manifest
new file mode 100644
index 000000000000..d3314b46605f
--- /dev/null
+++ b/dev-java/jvmstat/Manifest
@@ -0,0 +1,3 @@
+DIST jvmstat-3_0.zip 153629 BLAKE2B 9191873c9d719a0aab33e3eb7d8ef056dc93861f81c09ef10f7adea457fbfb39f347d34d0b84410457b0b0c52479620bde1060bc5fbc6f7dd1c23efe643d385c SHA512 c3967f5c11ef70aac3b3131c7ca1330c4ea377e59a2e9fb18329cfd9c82a8363efd960c9fb71e4d5f7e81867bd24e5bb6263d2f38b95878222c9184c0aaf4f12
+EBUILD jvmstat-3.0.ebuild 1018 BLAKE2B 84e53700ce1b388dd2e531f7ca58268e9c5c6c03896411bb329d0b22f847394d5138bbca921076415d1355825d5d34b625b7a3687f47de0acc2f3c4768b5effa SHA512 3fa0f7246bb4a6cf263cb3bc96af279a42ec90a28237f038d03af89fe5b9fb682505f89bc1704fc594b7048197592433fc12918b13cdcad2d96da386da19a85e
+MISC metadata.xml 236 BLAKE2B 5a64c4404c26415501f50132968e687d4f1b852738cb0e1a5aef8cc4de9e4ea623066f46068fce3d80514ff122d85304e3fd12282c4b1513a4084523ef8bef07 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253
diff --git a/dev-java/jvmstat/jvmstat-3.0.ebuild b/dev-java/jvmstat/jvmstat-3.0.ebuild
new file mode 100644
index 000000000000..ebac4a87c59b
--- /dev/null
+++ b/dev-java/jvmstat/jvmstat-3.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=0
+
+inherit java-pkg-2 versionator
+
+MY_PV=$(replace_version_separator 1 '_')
+DESCRIPTION="Monitoring APIs and tools for monitoring the performance of the JVM"
+HOMEPAGE="http://java.sun.com/performance/jvmstat/"
+SRC_URI="jvmstat-${MY_PV}.zip"
+
+LICENSE="sun-bcla-jvmstat"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RESTRICT="fetch strip"
+
+DEPEND="app-arch/unzip"
+RDEPEND=">=virtual/jre-1.5"
+
+S="${WORKDIR}/jvmstat/"
+
+INSTTO="/opt/${PN}"
+
+pkg_nofetch() {
+
+ einfo "Please go to following URL:"
+ einfo " ${HOMEPAGE}"
+ einfo "download file named ${SRC_URI} and place it in:"
+ einfo " ${DISTDIR}"
+
+}
+
+src_install() {
+
+ dodir "${INSTTO}"
+ cd "${S}"
+ cp -r jars bin "${D}/${INSTTO}"
+
+ dodoc README
+ use doc && dodoc -r docs
+
+ dodir /opt/bin
+ cat > "${D}/opt/bin/visualgc" <<-EOF
+ #!/bin/bash
+ export JVMSTAT_JAVA_HOME=$(java-config -O)
+ cd /opt/jvmstat/bin/
+ ./visualgc \${@}
+ EOF
+ fperms 755 /opt/bin/visualgc
+
+}
diff --git a/dev-java/jvmstat/metadata.xml b/dev-java/jvmstat/metadata.xml
new file mode 100644
index 000000000000..952a4b9b605c
--- /dev/null
+++ b/dev-java/jvmstat/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+</pkgmetadata>