From 62ed1146be676633d94810d737ac076c1d22af9b Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sat, 23 Apr 2022 19:25:12 +0200 Subject: dev-lang/hare: New Package Signed-off-by: Haelwenn (lanodan) Monnier --- dev-lang/hare/hare-9999.ebuild | 32 ++++++++++++++++++++++++++++++++ dev-lang/hare/metadata.xml | 8 ++++++++ 2 files changed, 40 insertions(+) create mode 100644 dev-lang/hare/hare-9999.ebuild create mode 100644 dev-lang/hare/metadata.xml (limited to 'dev-lang') diff --git a/dev-lang/hare/hare-9999.ebuild b/dev-lang/hare/hare-9999.ebuild new file mode 100644 index 000000000..93f88ea17 --- /dev/null +++ b/dev-lang/hare/hare-9999.ebuild @@ -0,0 +1,32 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 + +DESCRIPTION="The Hare systems programming language" +HOMEPAGE="https://harelang.org/" +EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare" +LICENSE="GPL-3" +SLOT="0" + +DEPEND=" + sys-devel/qbe + dev-lang/harec +" +BDEPEND=" + app-text/scdoc +" +RDEPEND="${DEPEND}" + +src_unpack() { + default + git-r3_src_unpack + mkdir "${WORKDIR}/${P}/build" || die +} + +src_configure() { + cp config.example.mk config.mk || die + sed -i -e 's;^PREFIX=.*;PREFIX=/usr;' config.mk || die +} diff --git a/dev-lang/hare/metadata.xml b/dev-lang/hare/metadata.xml new file mode 100644 index 000000000..c698af234 --- /dev/null +++ b/dev-lang/hare/metadata.xml @@ -0,0 +1,8 @@ + + + + + contact@hacktivis.me + Haelwenn (lanodan) Monnier + + -- cgit v1.2.3-65-gdbad