From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-devel/cproc/
Date: Sat, 23 Apr 2022 17:53:16 +0000 (UTC) [thread overview]
Message-ID: <1650736382.bd12672caa5329be7887cee3d2a6674717f2ed96.lanodan@gentoo> (raw)
commit: bd12672caa5329be7887cee3d2a6674717f2ed96
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sat Apr 23 17:19:59 2022 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Sat Apr 23 17:53:02 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bd12672c
sys-devel/cproc: New Package
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
sys-devel/cproc/cproc-9999.ebuild | 31 +++++++++++++++++++++++++++++++
sys-devel/cproc/metadata.xml | 11 +++++++++++
2 files changed, 42 insertions(+)
diff --git a/sys-devel/cproc/cproc-9999.ebuild b/sys-devel/cproc/cproc-9999.ebuild
new file mode 100644
index 000000000..b252f88f8
--- /dev/null
+++ b/sys-devel/cproc/cproc-9999.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit git-r3
+
+DESCRIPTION="C11 compiler using QBE as backend"
+HOMEPAGE="https://sr.ht/~mcf/cproc/"
+EGIT_REPO_URI="https://git.sr.ht/~mcf/cproc"
+LICENSE="ISC"
+SLOT="0"
+IUSE="system-qbe"
+
+DEPEND="system-qbe? ( sys-devel/qbe:= )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ ./configure \
+ --prefix=/usr \
+ || die
+}
+
+src_compile() {
+ if ! use system-qbe; then
+ emake qbe
+ PATH=$PWD/qbe/obj:$PATH emake
+ else
+ emake
+ fi
+}
diff --git a/sys-devel/cproc/metadata.xml b/sys-devel/cproc/metadata.xml
new file mode 100644
index 000000000..25735d2cf
--- /dev/null
+++ b/sys-devel/cproc/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <use>
+ <flag name="system-qbe">Use <pkg>sys-devel/qbe</pkg> instead of the vendored one</flag>
+ </use>
+</pkgmetadata>
next reply other threads:[~2022-04-23 17:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-23 17:53 Haelwenn Monnier [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-08-25 18:18 [gentoo-commits] repo/proj/guru:dev commit in: sys-devel/cproc/ Haelwenn Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1650736382.bd12672caa5329be7887cee3d2a6674717f2ed96.lanodan@gentoo \
--to=contact@hacktivis.me \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox