aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/hare/hare-9999.ebuild32
-rw-r--r--dev-lang/hare/metadata.xml8
2 files changed, 40 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>contact@hacktivis.me</email>
+ <name>Haelwenn (lanodan) Monnier</name>
+ </maintainer>
+</pkgmetadata>