public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/qbe/
Date: Thu, 25 Aug 2022 02:09:41 +0000 (UTC)	[thread overview]
Message-ID: <1661393366.6e4496c46cfe67d060225164cf50b923c2cd5858.sam@gentoo> (raw)

commit:     6e4496c46cfe67d060225164cf50b923c2cd5858
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Tue Aug 23 14:26:15 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 25 02:09:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e4496c4

sys-devel/qbe: new package from ::guru, add 1.0-r1, 9999

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/qbe/Manifest          |  1 +
 sys-devel/qbe/metadata.xml      | 12 ++++++++++++
 sys-devel/qbe/qbe-1.0-r1.ebuild | 29 +++++++++++++++++++++++++++++
 sys-devel/qbe/qbe-9999.ebuild   | 29 +++++++++++++++++++++++++++++
 4 files changed, 71 insertions(+)

diff --git a/sys-devel/qbe/Manifest b/sys-devel/qbe/Manifest
new file mode 100644
index 000000000000..fd1f19c3fece
--- /dev/null
+++ b/sys-devel/qbe/Manifest
@@ -0,0 +1 @@
+DIST qbe-1.0.tar.xz 237756 BLAKE2B ca6e1ee81f7329a8aee1f4597de391dcc44595fb8371468360fbcf1a5fc9fa404c614d49e4668fba568fa8d11e753d10b4c46380884fa635a56331b059b69abd SHA512 7f53d4440fda36b21dbf390aa8b9c17ae7c137a6e034dd73ca1c2068d84dbe236a452d86cab8d8bce0b3d66c3f08e70f2bf54bc7cc2e93208cc1900014c18ad1

diff --git a/sys-devel/qbe/metadata.xml b/sys-devel/qbe/metadata.xml
new file mode 100644
index 000000000000..fc3c6c671309
--- /dev/null
+++ b/sys-devel/qbe/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person" proxied="yes">
+		<email>contact@hacktivis.me</email>
+		<name>Haelwenn (lanodan) Monnier</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/sys-devel/qbe/qbe-1.0-r1.ebuild b/sys-devel/qbe/qbe-1.0-r1.ebuild
new file mode 100644
index 000000000000..28dcf876539b
--- /dev/null
+++ b/sys-devel/qbe/qbe-1.0-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ "${PV}" == "9999" ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="git://c9x.me/qbe.git"
+else
+	SRC_URI="https://c9x.me/compile/release/${P}.tar.xz"
+	# 64-bit RISC-V only
+	KEYWORDS="~amd64 ~arm64 ~riscv"
+fi
+
+DESCRIPTION="Pure-C embeddable compiler backend"
+HOMEPAGE="https://c9x.me/compile/"
+LICENSE="MIT"
+SLOT="0"
+
+DOCS=( README doc )
+
+src_compile() {
+	emake CFLAGS="-std=c99 ${CPPFLAGS} ${CFLAGS}"
+}
+
+src_install() {
+	einstalldocs
+	emake install DESTDIR="${ED}" PREFIX=/usr
+}

diff --git a/sys-devel/qbe/qbe-9999.ebuild b/sys-devel/qbe/qbe-9999.ebuild
new file mode 100644
index 000000000000..28dcf876539b
--- /dev/null
+++ b/sys-devel/qbe/qbe-9999.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ "${PV}" == "9999" ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="git://c9x.me/qbe.git"
+else
+	SRC_URI="https://c9x.me/compile/release/${P}.tar.xz"
+	# 64-bit RISC-V only
+	KEYWORDS="~amd64 ~arm64 ~riscv"
+fi
+
+DESCRIPTION="Pure-C embeddable compiler backend"
+HOMEPAGE="https://c9x.me/compile/"
+LICENSE="MIT"
+SLOT="0"
+
+DOCS=( README doc )
+
+src_compile() {
+	emake CFLAGS="-std=c99 ${CPPFLAGS} ${CFLAGS}"
+}
+
+src_install() {
+	einstalldocs
+	emake install DESTDIR="${ED}" PREFIX=/usr
+}


             reply	other threads:[~2022-08-25  2:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-25  2:09 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-25  2:09 [gentoo-commits] repo/gentoo:master commit in: sys-devel/qbe/ Sam James
2022-08-26  7:24 Sam James
2023-02-24 12:19 Viorel Munteanu
2024-01-12  7:52 Joonas Niilola
2024-02-28  8:31 Florian Schmaus
2024-02-28  8:31 Florian Schmaus

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=1661393366.6e4496c46cfe67d060225164cf50b923c2cd5858.sam@gentoo \
    --to=sam@gentoo.org \
    --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