1 |
commit: aad7f24806973b835e68e37d3918b6bc63d7f4c3 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 31 18:53:18 2019 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 1 08:51:35 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aad7f248 |
7 |
|
8 |
dev-java/jvmstat: clean up old. |
9 |
|
10 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
|
13 |
dev-java/jvmstat/jvmstat-3.0.ebuild | 54 ------------------------------------- |
14 |
1 file changed, 54 deletions(-) |
15 |
|
16 |
diff --git a/dev-java/jvmstat/jvmstat-3.0.ebuild b/dev-java/jvmstat/jvmstat-3.0.ebuild |
17 |
deleted file mode 100644 |
18 |
index 2d11cc6a946..00000000000 |
19 |
--- a/dev-java/jvmstat/jvmstat-3.0.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,54 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=0 |
26 |
- |
27 |
-inherit java-pkg-2 versionator |
28 |
- |
29 |
-MY_PV=$(replace_version_separator 1 '_') |
30 |
-DESCRIPTION="Monitoring APIs and tools for monitoring the performance of the JVM" |
31 |
-HOMEPAGE="http://java.sun.com/performance/jvmstat/" |
32 |
-SRC_URI="jvmstat-${MY_PV}.zip" |
33 |
- |
34 |
-LICENSE="sun-bcla-jvmstat" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="~amd64 ~x86" |
37 |
-IUSE="doc" |
38 |
- |
39 |
-RESTRICT="fetch strip" |
40 |
- |
41 |
-DEPEND="app-arch/unzip" |
42 |
-RDEPEND=">=virtual/jre-1.5" |
43 |
- |
44 |
-S="${WORKDIR}/jvmstat/" |
45 |
- |
46 |
-INSTTO="/opt/${PN}" |
47 |
- |
48 |
-pkg_nofetch() { |
49 |
- |
50 |
- einfo "Please go to following URL:" |
51 |
- einfo " ${HOMEPAGE}" |
52 |
- einfo "download file named ${SRC_URI} and place it into" |
53 |
- einfo " your DISTDIR directory." |
54 |
- |
55 |
-} |
56 |
- |
57 |
-src_install() { |
58 |
- |
59 |
- dodir "${INSTTO}" |
60 |
- cd "${S}" |
61 |
- cp -r jars bin "${D}/${INSTTO}" |
62 |
- |
63 |
- dodoc README |
64 |
- use doc && dodoc -r docs |
65 |
- |
66 |
- dodir /opt/bin |
67 |
- cat > "${D}/opt/bin/visualgc" <<-EOF |
68 |
- #!/bin/bash |
69 |
- export JVMSTAT_JAVA_HOME=$(java-config -O) |
70 |
- cd /opt/jvmstat/bin/ |
71 |
- ./visualgc \${@} |
72 |
- EOF |
73 |
- fperms 755 /opt/bin/visualgc |
74 |
- |
75 |
-} |