dev-util/gshards: add 0.2

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-05-09 20:51:10 +05:00
parent ccbe805277
commit 20be1a1fcb
2 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST gshards-0.2.tar.xz 1688 BLAKE2B bfee4913fcebb2df77b6bb78b18564fcf99675badd9ced3080f4db60a49c398814ff550fce342174f773774a90ae4ff106dda829bbdc3b204c8dff10b78dbd8a SHA512 f5018314df3c367541995b57f1b275c8223c0a2171e4ce445e7187ee2174088d5403262f7be096c79338bda1251b75ca9e73457062de1d4b0386312f50ddd5c5

View File

@@ -0,0 +1,36 @@
# Copyright 2022-2023 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://git.sysrq.in/gshards/"
SRC_URI="https://git.sysrq.in/gshards/snapshot/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-libs/boehm-gc
dev-libs/libevent:=
dev-libs/libpcre2:=
dev-libs/libyaml
"
DEPEND="${RDEPEND}"
BDEPEND="${CRYSTAL_DEPS}"
QA_FLAGS_IGNORED='.*'
src_configure() {
tc-export CC
export CRFLAGS="--threads=$(makeopts_jobs) --verbose"
crystal_configure
}
src_install() {
emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install
}