mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
Closes: https://bugs.gentoo.org/883177 Closes: https://bugs.gentoo.org/883179 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
41 lines
741 B
Bash
41 lines
741 B
Bash
# Copyright 2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit crystal-utils multiprocessing toolchain-funcs
|
|
|
|
DESCRIPTION="Small helper tools to aid installing Crystal packages in Gentoo"
|
|
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
|
|
S="${WORKDIR}"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
RDEPEND="
|
|
dev-libs/boehm-gc
|
|
dev-libs/libevent:=
|
|
dev-libs/libpcre:3
|
|
dev-libs/libyaml
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="${CRYSTAL_DEPS}"
|
|
|
|
QA_FLAGS_IGNORED='.*'
|
|
|
|
src_configure() {
|
|
crystal_configure
|
|
tc-export CC
|
|
}
|
|
|
|
src_compile() {
|
|
for prog in "${FILESDIR}"/${PV}/gshards-*.cr; do
|
|
ecrystal build "${prog}" --verbose --threads=$(makeopts_jobs)
|
|
done
|
|
}
|
|
|
|
src_install() {
|
|
dobin gshards-*
|
|
}
|