dev-lang/kotlin-bin - 1.4.10 (jm-overlay)

Search

Install

Install this version:

emerge -a =dev-lang/kotlin-bin-1.4.10

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-lang/kotlin-bin-1.4.10

Or alternatively:

emerge --autounmask-write -a =dev-lang/kotlin-bin-1.4.10

Package Information

Description:
Statically typed programming language for modern multiplatform applications
Homepage:
https://kotlinlang.org/
License:
Apache-2.0 BSD MIT NPL-1.1

Ebuild Details

Version EAPI Keywords Slot
1.4.10 7 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Statically typed programming language for modern multiplatform applications"
HOMEPAGE="https://kotlinlang.org/"
SRC_URI="https://github.com/JetBrains/kotlin/releases/download/v${PV}/kotlin-compiler-${PV}.zip"

LICENSE="Apache-2.0 BSD MIT NPL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="app-arch/unzip"
RDEPEND="app-shells/bash
	>=virtual/jdk-1.8
	>=virtual/jre-1.8"

S="${WORKDIR}/kotlinc"

src_install() {
	rm bin/*.bat || die
	dodoc license/NOTICE.txt
	rm -r license || die

	insinto "/opt/${PN}"
	doins -r *
	for i in bin/*; do
		fperms +x "/opt/${PN}/$i"
		dosym "${EROOT}/opt/${PN}/$i" "/usr/bin/${i//*\/}"
	done
}

Dependencies

DEPEND

app-arch/unzip

RDEPEND

app-shells/bash
	>=virtual/jdk-1.8
	>=virtual/jre-1.8

Manifest for 1.4.10

Type File Size Source URLs
DIST kotlin-compiler-1.4.10.zip 54526905 bytes https://github.com/JetBrains/kotlin/releases/download/v1.4.10/kotlin-compiler-1.4.10.zip