aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2022-04-23 19:25:12 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2022-04-23 19:53:06 +0200
commit62ed1146be676633d94810d737ac076c1d22af9b (patch)
tree26a93f066daa42d7861f34bf2fa257b1240c2ae7 /dev-lang
parentdev-lang/harec: New Package (diff)
downloadguru-62ed1146be676633d94810d737ac076c1d22af9b.tar.gz
guru-62ed1146be676633d94810d737ac076c1d22af9b.tar.bz2
guru-62ed1146be676633d94810d737ac076c1d22af9b.zip
dev-lang/hare: New Package
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
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>