aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2022-04-23 19:24:15 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2022-04-23 19:53:05 +0200
commit23877267ee1ad968d7b0c2748fbef799808ecfb5 (patch)
treedd30f379850033c873689d10ccd5ef51121b748d /dev-lang/harec
parentsys-devel/cproc: New Package (diff)
downloadguru-23877267ee1ad968d7b0c2748fbef799808ecfb5.tar.gz
guru-23877267ee1ad968d7b0c2748fbef799808ecfb5.tar.bz2
guru-23877267ee1ad968d7b0c2748fbef799808ecfb5.zip
dev-lang/harec: New Package
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Diffstat (limited to 'dev-lang/harec')
-rw-r--r--dev-lang/harec/harec-9999.ebuild26
-rw-r--r--dev-lang/harec/metadata.xml8
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-lang/harec/harec-9999.ebuild b/dev-lang/harec/harec-9999.ebuild
new file mode 100644
index 000000000..6227b5845
--- /dev/null
+++ b/dev-lang/harec/harec-9999.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit git-r3
+
+DESCRIPTION="The Hare compiler"
+HOMEPAGE="https://harelang.org/"
+EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/harec"
+S="${WORKDIR}/${P}/build"
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND="sys-devel/qbe"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ default
+ git-r3_src_unpack
+ mkdir "${WORKDIR}/${P}/build" || die
+}
+
+src_configure() {
+ ../configure --prefix="/usr" --libdir="/usr/$(get_libdir)" || die
+}
diff --git a/dev-lang/harec/metadata.xml b/dev-lang/harec/metadata.xml
new file mode 100644
index 000000000..c698af234
--- /dev/null
+++ b/dev-lang/harec/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>