diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/sun-jmx | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/sun-jmx')
-rw-r--r-- | dev-java/sun-jmx/Manifest | 3 | ||||
-rw-r--r-- | dev-java/sun-jmx/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/sun-jmx/sun-jmx-1.2.1-r3.ebuild | 50 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-java/sun-jmx/Manifest b/dev-java/sun-jmx/Manifest new file mode 100644 index 000000000000..34a25f8e6bd1 --- /dev/null +++ b/dev-java/sun-jmx/Manifest @@ -0,0 +1,3 @@ +DIST jmx-1_2_1-ri.zip 1624569 BLAKE2B 7262ee10ab49d7371da988f6f636c22e7ad8cc06bd61db5490659899424465f2ed85000d176e6dc5cb7631942079fde19cde35837cda677fa463cdf53c94780c SHA512 39c933ec39f3fcc631d6d8f3aa88724bb0aa11ff62dfbac61762d07c718dff4ba1e16b1b565c7aa1ede7d616516e68d0dbe8c227db34a6d30bd8f29880c7a5d1 +EBUILD sun-jmx-1.2.1-r3.ebuild 1259 BLAKE2B 18c3213f6f2a692b2c796ac8733057db4c9ca1798618355913637ba8b4fa057dbdb2bc20daf31356e0f93aaaca4d007ab1cfe6489f36461a2b0952810afdb1de SHA512 4fb11fd7227ee9cea809a9822b6d1b899dc035663a15c0a4a739087295ffcbb4425ef389103fc0d4aa305e1e90b23c338ded324ddec809094a43b1d186ba9c8e +MISC metadata.xml 232 BLAKE2B 513679b02247d8e4cb4c874abd785119d9ca62ad24c44969d52a42c3765d0ebf689024512a2c4c48e69688a4ce02a74ae05708b050a720bc73d8d2bf2ceff58d SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 diff --git a/dev-java/sun-jmx/metadata.xml b/dev-java/sun-jmx/metadata.xml new file mode 100644 index 000000000000..2444066aa02b --- /dev/null +++ b/dev-java/sun-jmx/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> 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 000000000000..12307dbd4772 --- /dev/null +++ b/dev-java/sun-jmx/sun-jmx-1.2.1-r3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +JAVA_PKG_IUSE="doc examples" + +inherit java-pkg-2 + +MY_P=jmx-${PV//./_} +DESCRIPTION="Java Management Extensions for managing and monitoring" +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 ppc64 x86 ~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 +} |