diff --git a/dev-util/gshards/gshards-0.2-r1.ebuild b/dev-util/gshards/gshards-0.2-r1.ebuild new file mode 100644 index 0000000000..abb3fe1e8d --- /dev/null +++ b/dev-util/gshards/gshards-0.2-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +inherit crystal-utils toolchain-funcs + +DESCRIPTION="Small helper tools to aid installing Crystal packages in Gentoo" +HOMEPAGE="https://git.sysrq.in/gshards/" +SRC_URI="https://git.sr.ht/~cyber/${PN}/archive/${PV}.tar.gz -> ${P}.srht.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-libs/boehm-gc + dev-libs/libpcre2:= + dev-libs/libyaml +" +DEPEND="${RDEPEND} + ${CRYSTAL_DEPS} +" +BDEPEND="${CRYSTAL_DEPS}" + +QA_FLAGS_IGNORED='.*' + +src_configure() { + tc-export CC + export CRFLAGS="--verbose" + + crystal_configure +} + +src_install() { + emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install +}