Mercurial > hg > portage
comparison dev-util/visualvm-bin/visualvm-bin-2.0.5.ebuild @ 541:30a82ebe0039
visualvm update
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Thu, 19 Nov 2020 08:23:06 +0100 |
parents | dev-util/visualvm-bin/visualvm-bin-2.0.4.ebuild@9b558e6ecfcd |
children |
comparison
equal
deleted
inserted
replaced
540:6dd9fc8c8a26 | 541:30a82ebe0039 |
---|---|
1 # Copyright 1999-2018 Gentoo Foundation | |
2 # Distributed under the terms of the GNU General Public License v2 | |
3 | |
4 EAPI=7 | |
5 | |
6 DESCRIPTION="Integrates commandline JDK tools and profiling capabilities" | |
7 HOMEPAGE="https://visualvm.github.io" | |
8 | |
9 MY_PV="${PV//\./}" | |
10 SRC_URI="https://github.com/oracle/visualvm/releases/download/${PV}/visualvm_${MY_PV}.zip" | |
11 S="${WORKDIR}/visualvm_${MY_PV}" | |
12 | |
13 SLOT="0" | |
14 KEYWORDS="amd64" | |
15 | |
16 src_prepare() { | |
17 default | |
18 | |
19 # Remove unneeded binaries | |
20 rm bin/*.exe | |
21 rm -rv platform/lib/*.{dll,exe} \ | |
22 platform/modules/lib/{amd64/*.dll,i386,x86} || die | |
23 } | |
24 | |
25 src_install() { | |
26 local DEST_DIR="/opt/${PN}-${PV}" | |
27 | |
28 exeinto ${DEST_DIR}/bin | |
29 doexe bin/visualvm | |
30 | |
31 insinto ${DEST_DIR} | |
32 doins -r etc platform visualvm | |
33 } |