diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-21 12:05:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-21 12:05:28 +0100 |
commit | 490ef2c2dc8b4e808f37add1adee21a754efd9a9 (patch) | |
tree | e235cdf15550b3d2f644b6fc4a8aa726971416f5 /app-eselect/eselect-java/eselect-java-0.5.1.ebuild | |
parent | da7ae1dd1fccb6b3c0e4763ab983ad96d57bf463 (diff) |
gentoo auto-resync : 21:04:2024 - 12:05:28
Diffstat (limited to 'app-eselect/eselect-java/eselect-java-0.5.1.ebuild')
-rw-r--r-- | app-eselect/eselect-java/eselect-java-0.5.1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/app-eselect/eselect-java/eselect-java-0.5.1.ebuild b/app-eselect/eselect-java/eselect-java-0.5.1.ebuild new file mode 100644 index 000000000000..401e394906bb --- /dev/null +++ b/app-eselect/eselect-java/eselect-java-0.5.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="A set of eselect modules for Java" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java" +SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND="app-admin/eselect" + +src_prepare() { + default + eautoreconf +} + +pkg_postinst() { + local REMOVED=0 + + rm -v "${EROOT}"/usr/lib*/nsbrowser/plugins/javaplugin.so 2>/dev/null && REMOVED=1 + rm -v "${EROOT}"/etc/java-config-2/current-icedtea-web-vm 2>/dev/null && REMOVED=1 + + if [[ ${REMOVED} = 1 ]]; then + elog "The eselect java-nsplugin module has been removed and your configuration" + elog "has been cleaned up. From now on, you may only install either Oracle or" + elog "IcedTea's plugin but not both. Note you can use IcedTea's plugin with an" + elog "Oracle VM. See the README installed with icedtea-web for more details." + fi +} |