Mercurial > hg > portage
view dev-util/visualvm-bin/visualvm-bin-2.0.6.ebuild @ 547:00475271dd1e
Unbenutzte Pakete entfernen
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Mon, 12 Apr 2021 09:56:17 +0200 |
parents | 7e1370868071 |
children |
line wrap: on
line source
# 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/oracle/visualvm/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 } src_install() { local DEST_DIR="/opt/${PN}-${PV}" exeinto ${DEST_DIR}/bin doexe bin/visualvm insinto ${DEST_DIR} doins -r etc platform visualvm }