dev-lang/crystal-bin - 1.21.0 (guru)

Search

Install

Install this version:

emerge -a =dev-lang/crystal-bin-1.21.0

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

autounmask =dev-lang/crystal-bin-1.21.0

Or alternatively:

emerge --autounmask-write -a =dev-lang/crystal-bin-1.21.0

Package Information

Description:
The Crystal Programming Language
Homepage:
https://crystal-lang.org https://github.com/crystal-lang/crystal
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
1.21.0 9 -* ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

MY_PN="${PN%-bin}"
BV="${PV}-1"
BV_AMD64="${BV}-linux-x86_64"

DESCRIPTION="The Crystal Programming Language"
HOMEPAGE="https://crystal-lang.org https://github.com/crystal-lang/crystal"
SRC_URI="
	amd64? ( https://github.com/${MY_PN}-lang/${MY_PN}/releases/download/${PV}/${MY_PN}-${BV_AMD64}.tar.gz )
	doc? ( https://github.com/${MY_PN}-lang/${MY_PN}/releases/download/${PV}/${MY_PN}-${PV}-docs.tar.gz )
"
S="${WORKDIR}/${MY_PN}-${BV}"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="-* ~amd64"
IUSE="doc"

# file collisions
RDEPEND="
	!dev-lang/crystal
	!dev-util/shards
	!games-mud/crystal
	!sci-chemistry/tinker
"

QA_PREBUILT="usr/bin/.*"

src_prepare() {
	default

	rm -r share/licenses || die
	gunzip share/man/*/*.gz || die
}

src_install() {
	dobin bin/*

	insinto /usr
	doins -r share

	insinto /usr/$(get_libdir)
	doins -r lib/crystal

	use doc && HTML_DOCS=( "${WORKDIR}"/${MY_PN}-${PV}-docs )
	einstalldocs
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-lang/crystal-bin | euse -E <flag> -p dev-lang/crystal-bin | euse -D <flag> -p dev-lang/crystal-bin

Global/Standard Flags

doc

Dependencies

RDEPEND

	!dev-lang/crystal
	!dev-util/shards
	!games-mud/crystal
	!sci-chemistry/tinker

Manifest for 1.21.0

Type File Size Source URLs
DIST crystal-1.21.0-1-linux-x86_64.tar.gz 57910155 bytes https://github.com/crystal-lang/crystal/releases/download/1.21.0/crystal-1.21.0-1-linux-x86_64.tar.gz
DIST crystal-1.21.0-docs.tar.gz 17320424 bytes https://github.com/crystal-lang/crystal/releases/download/1.21.0/crystal-1.21.0-docs.tar.gz