diff --git a/dev-util/gshards/Manifest b/dev-util/gshards/Manifest new file mode 100644 index 0000000000..fa4d651e0a --- /dev/null +++ b/dev-util/gshards/Manifest @@ -0,0 +1 @@ +DIST gshards-0.2.tar.xz 1688 BLAKE2B bfee4913fcebb2df77b6bb78b18564fcf99675badd9ced3080f4db60a49c398814ff550fce342174f773774a90ae4ff106dda829bbdc3b204c8dff10b78dbd8a SHA512 f5018314df3c367541995b57f1b275c8223c0a2171e4ce445e7187ee2174088d5403262f7be096c79338bda1251b75ca9e73457062de1d4b0386312f50ddd5c5 diff --git a/dev-util/gshards/gshards-0.2.ebuild b/dev-util/gshards/gshards-0.2.ebuild new file mode 100644 index 0000000000..f2d3032629 --- /dev/null +++ b/dev-util/gshards/gshards-0.2.ebuild @@ -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 +}