diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2022-06-23 20:31:50 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2022-06-23 20:32:33 +0200 |
commit | d06d5f16fadc7321b72bfbc421a77be292060211 (patch) | |
tree | d6514f0aeec2a46f0982ec64d660ee489f1dc519 /sys-devel | |
parent | dev-cpp/scitokens-cpp: More complete patch for unbundling gtest. (diff) | |
download | guru-d06d5f16fadc7321b72bfbc421a77be292060211.tar.gz guru-d06d5f16fadc7321b72bfbc421a77be292060211.tar.bz2 guru-d06d5f16fadc7321b72bfbc421a77be292060211.zip |
sys-devel/qbe: add 1.0
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/qbe/Manifest | 1 | ||||
-rw-r--r-- | sys-devel/qbe/qbe-1.0.ebuild | 20 | ||||
-rw-r--r-- | sys-devel/qbe/qbe-9999.ebuild | 8 |
3 files changed, 27 insertions, 2 deletions
diff --git a/sys-devel/qbe/Manifest b/sys-devel/qbe/Manifest new file mode 100644 index 000000000..fd1f19c3f --- /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/qbe-1.0.ebuild b/sys-devel/qbe/qbe-1.0.ebuild new file mode 100644 index 000000000..f493d7680 --- /dev/null +++ b/sys-devel/qbe/qbe-1.0.ebuild @@ -0,0 +1,20 @@ +# 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" +fi + +DESCRIPTION="Pure-C embeddable compiler backend" +HOMEPAGE="https://c9x.me/compile/" +LICENSE="MIT" +SLOT="0" + +src_install() { + PREFIX=/usr default +} diff --git a/sys-devel/qbe/qbe-9999.ebuild b/sys-devel/qbe/qbe-9999.ebuild index b1d948560..f493d7680 100644 --- a/sys-devel/qbe/qbe-9999.ebuild +++ b/sys-devel/qbe/qbe-9999.ebuild @@ -3,11 +3,15 @@ EAPI=7 -inherit git-r3 +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" +fi DESCRIPTION="Pure-C embeddable compiler backend" HOMEPAGE="https://c9x.me/compile/" -EGIT_REPO_URI="git://c9x.me/qbe.git" LICENSE="MIT" SLOT="0" |