summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jvmstat/jvmstat-3.0.ebuild')
-rw-r--r--dev-java/jvmstat/jvmstat-3.0.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-java/jvmstat/jvmstat-3.0.ebuild b/dev-java/jvmstat/jvmstat-3.0.ebuild
new file mode 100644
index 000000000000..cdd5fc9bff0d
--- /dev/null
+++ b/dev-java/jvmstat/jvmstat-3.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jvmstat/jvmstat-3.0.ebuild,v 1.1 2006/07/06 17:17:45 nelchael Exp $
+
+inherit java-pkg-2 versionator
+
+MY_PV=$(replace_version_separator 1 '_')
+DESCRIPTION="A set of monitoring APIs and tools for monitoring the performance of the JVM in production environments."
+HOMEPAGE="http://java.sun.com/performance/jvmstat/"
+SRC_URI="jvmstat-${MY_PV}.zip"
+
+LICENSE="sun-bcla-jvmstat"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+RESTRICT="fetch nostrip"
+
+DEPEND=""
+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
+
+}