# HG changeset patch # User Dirk Olmes # Date 1565854015 -7200 # Node ID e3cfb359481dd29bc5e12ef8fbcc8d77191bec36 # Parent 27094cef9d58c4c6836d66ec4af0a964cae625e5 add an ebuild for visualvm diff -r 27094cef9d58 -r e3cfb359481d dev-util/visualvm-bin/Manifest --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-util/visualvm-bin/Manifest Thu Aug 15 09:26:55 2019 +0200 @@ -0,0 +1,2 @@ +DIST visualvm_143.zip 15610933 BLAKE2B 73cf445418565de42fa5b4957cb8f24f45c32839fa4027a7ed28cb9c0b7f504a0fbe1af2c2d9d337373f15640acbfe59d466e4595c2ab1d47e2bd0aed2e99f6c SHA512 86a7a6a90e04404d06aae027c69192ec5f53796474341cd9ad7ec0138d4ff4c082f67681d6723b1d0b3a38c0503026af95f8b504531e40e32ae84404596545ea +EBUILD visualvm-bin-1.4.3.ebuild 834 BLAKE2B 21a667d10110cf6e1192af9a17682c002b36de3dfe032ba5cc052c3259a70865b1b3b79ec1756ea33c1912cf5f966ce2531c2ffafb3b2b1bf2f9d78b84df2820 SHA512 e55e53ef0d7408bddeefe8e22778f9dec7a2baefe9ef2c09237e80aa0bc8839a02f81b29737bb19b9300fd646fa1754d7bdb1769654a1a2436da982402f0a9d7 diff -r 27094cef9d58 -r e3cfb359481d dev-util/visualvm-bin/visualvm-bin-1.4.3.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-util/visualvm-bin/visualvm-bin-1.4.3.ebuild Thu Aug 15 09:26:55 2019 +0200 @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Integrates commandline JDK tools and profiling capabilities" +HOMEPAGE="https://visualvm.github.io" + +MY_PV="${PV//\./}" +SRC_URI="https://github.com/visualvm/visualvm.src/releases/download/${PV}/visualvm_${MY_PV}.zip" +S="${WORKDIR}/visualvm_${MY_PV}" + +SLOT="0" +KEYWORDS="amd64" + +src_prepare() { + default + + # Remove unneeded binaries + rm bin/*.exe + rm -rv platform/lib/*.{dll,exe} \ + platform/modules/lib/{amd64/*.dll,i386,x86} || die + find profiler/lib/deployed/jdk1? -mindepth 1 \ + -maxdepth 1 ! -name linux-amd64 -exec rm -rv {} + || die +} + +src_install() { + local DEST_DIR="/opt/${PN}-${PV}" + + exeinto ${DEST_DIR}/bin + doexe bin/visualvm + + insinto ${DEST_DIR} + doins -r etc platform profiler visualvm +}