summaryrefslogtreecommitdiff
path: root/dev-java/jvmstat
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-05 21:17:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-05 21:17:31 +0100
commitdc7cbdfa65fd814b3b9aa3c56257da201109e807 (patch)
treec85d72f6f31f21f178069c9d41d41a7c1ff4b362 /dev-java/jvmstat
parent0706fc6986773f4e4d391deff4ad5143c464ea4e (diff)
gentoo resync : 05.04.2019
Diffstat (limited to 'dev-java/jvmstat')
-rw-r--r--dev-java/jvmstat/Manifest2
-rw-r--r--dev-java/jvmstat/jvmstat-3.0-r1.ebuild (renamed from dev-java/jvmstat/jvmstat-3.0.ebuild)27
2 files changed, 17 insertions, 12 deletions
diff --git a/dev-java/jvmstat/Manifest b/dev-java/jvmstat/Manifest
index 0684b17e6e3d..d80921bd29f4 100644
--- a/dev-java/jvmstat/Manifest
+++ b/dev-java/jvmstat/Manifest
@@ -1,3 +1,3 @@
DIST jvmstat-3_0.zip 153629 BLAKE2B 9191873c9d719a0aab33e3eb7d8ef056dc93861f81c09ef10f7adea457fbfb39f347d34d0b84410457b0b0c52479620bde1060bc5fbc6f7dd1c23efe643d385c SHA512 c3967f5c11ef70aac3b3131c7ca1330c4ea377e59a2e9fb18329cfd9c82a8363efd960c9fb71e4d5f7e81867bd24e5bb6263d2f38b95878222c9184c0aaf4f12
-EBUILD jvmstat-3.0.ebuild 1029 BLAKE2B 97b6967b616f840c687a017a24e1eb29e0b8e53b5233c1fcfd2176f4e0efbad67f7c2c7fb4759a22430feb9696ca16de6208622d2afc989c3aec499caf032463 SHA512 7b6268681f23c943badeb9aba09daff1cc6e7559ce2e7ca5d4c8bdcf05068928724c4f96e396dbd7fb700b8cf78d1fc970dd3d908e944a2685dad4d299d4eb97
+EBUILD jvmstat-3.0-r1.ebuild 1078 BLAKE2B 63dc6a036a2e5208974060337161ceb3aa40b4785debcc76dc7471b6b2abfbfd63d5b50a75654deef8131003f74be68b2060a1e75834c8a74c8750f4ffde03d5 SHA512 151125cc2e05ec10d7af5c30e7f17a2b686307c22f2a3ae4fa71cf9fa3789dd43ed6053c7b967190cc2c15f9cb0c984509cba68ebb2178491c4bad0925d9cefe
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-r1.ebuild
index 2d11cc6a946b..a8fd913ef6f3 100644
--- a/dev-java/jvmstat/jvmstat-3.0.ebuild
+++ b/dev-java/jvmstat/jvmstat-3.0-r1.ebuild
@@ -1,11 +1,12 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=0
+EAPI=6
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"
@@ -17,30 +18,34 @@ IUSE="doc"
RESTRICT="fetch strip"
-DEPEND="app-arch/unzip"
-RDEPEND=">=virtual/jre-1.5"
+DEPEND="
+ app-arch/unzip
+ >=virtual/jdk-1.5"
+
+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 into"
einfo " your DISTDIR directory."
-
}
src_install() {
-
dodir "${INSTTO}"
- cd "${S}"
- cp -r jars bin "${D}/${INSTTO}"
+ cd "${S}" || die
+ cp -r jars bin "${D}/${INSTTO}" || die
+
+ einstalldocs
- dodoc README
- use doc && dodoc -r docs
+ if use doc; then
+ dodoc -r docs
+ fi
dodir /opt/bin
cat > "${D}/opt/bin/visualgc" <<-EOF