mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
dev-lang/crystal-bin: new package, add 1.6.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
2
dev-lang/crystal-bin/Manifest
Normal file
2
dev-lang/crystal-bin/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST crystal-1.6.1-1-linux-x86_64.tar.gz 41814003 BLAKE2B 62e1ed63b0bcfd0d03dfec23f27ea722dc9b4acf1928925ee512288bdca72ae39871625e06bada232e2ee5ac1cd21f49e556a161954349d55bd6ad443dcf0744 SHA512 b1bf4b17025c45fe23b01df7b393248301fe80bf6d11dafc7c5d476539ebdf7897f4de40f2e1559fee04378033dc54b19c78ed505e9b9c5b768944692f58ff5b
|
||||
DIST crystal-1.6.1-docs.tar.gz 12986588 BLAKE2B 57d2b71e7377d68ff346009452a163e173225071a14180081573953b0505222b1b1c0d3f3e338017e4e1249b9e1647ea4419c19dc3e8ef32f0ffd7eda8061c8d SHA512 fceea50c576241ac28799a5da55acff421a6d54b752a0cfab0b75bf66f6f259e6fccc7804d48ae4e68d03463dad1fd9d2865e2d6c1807554199ccd2fd0a0fccc
|
||||
50
dev-lang/crystal-bin/crystal-bin-1.6.1.ebuild
Normal file
50
dev-lang/crystal-bin/crystal-bin-1.6.1.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LLVM_MAX_SLOT=14
|
||||
|
||||
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
|
||||
!games-mud/crystal
|
||||
!sci-chemistry/tinker
|
||||
"
|
||||
|
||||
QA_PREBUILT="usr/bin/.*"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -r share/licenses || 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
|
||||
}
|
||||
16
dev-lang/crystal-bin/metadata.xml
Normal file
16
dev-lang/crystal-bin/metadata.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Crystal is a programming language that resembles Ruby but compiles to
|
||||
native code and tries to be much more efficient, at the cost of
|
||||
disallowing certain dynamic aspects of Ruby.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">crystal-lang/crystal</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user