diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2024-04-13 12:39:35 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-04-25 15:43:56 +0100 |
commit | 332df64499140e6e6e00ef6ef49a0f8da8323d75 (patch) | |
tree | 6274ba7026b1b34624cc99167625878ec82cd66e /sys-devel/cproc | |
parent | dev-python/hatchling: Remove old (diff) | |
download | gentoo-332df64499140e6e6e00ef6ef49a0f8da8323d75.tar.gz gentoo-332df64499140e6e6e00ef6ef49a0f8da8323d75.tar.bz2 gentoo-332df64499140e6e6e00ef6ef49a0f8da8323d75.zip |
sys-devel/cproc: add 0_pre20240413
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/cproc')
-rw-r--r-- | sys-devel/cproc/Manifest | 1 | ||||
-rw-r--r-- | sys-devel/cproc/cproc-0_pre20240413.ebuild | 33 | ||||
-rw-r--r-- | sys-devel/cproc/cproc-9999.ebuild | 10 |
3 files changed, 36 insertions, 8 deletions
diff --git a/sys-devel/cproc/Manifest b/sys-devel/cproc/Manifest index 3bb5cf1ed1d2..0f4e70fe42dc 100644 --- a/sys-devel/cproc/Manifest +++ b/sys-devel/cproc/Manifest @@ -1 +1,2 @@ DIST cproc-6fabc79d81de56b6c1cdcc2242933fd792e2ddf9.tar.gz 80893 BLAKE2B f708649714f0fbc3e7b60dc87585603970eb350de4ce1f02fe9b5783714ef09fa38b4b4ec7a8b0553047e84edc0f752963c84df32dacd9585c435098e57be47c SHA512 355e3ca8fb481d9e32d0621787beee7b0e6f53f107bbb9512f89382c599daa581b89e7da3957c09b81a994ebce9f06df08df0833b010b055a8ff947c8cc8d02e +DIST cproc-c19a0bd9b78be94b455af55ad8ceb9be49410974.tar.gz 84602 BLAKE2B 89a01f1382015737ed43e1c7ec36737c05c0818f422b8714b5ac60bfce0830572bd06f0f0b99457e675b52826671b18e872461154a8479d3f5da808e01dd08de SHA512 630d7d933a489be80519366c27650eb3b33443ec068f0d5c4749cc1f87061228b0496f2e31a7b5f0c7eb8608849ac692113f884eab03664a3e12a78f36dbc7fa diff --git a/sys-devel/cproc/cproc-0_pre20240413.ebuild b/sys-devel/cproc/cproc-0_pre20240413.ebuild new file mode 100644 index 000000000000..cb98d7443072 --- /dev/null +++ b/sys-devel/cproc/cproc-0_pre20240413.ebuild @@ -0,0 +1,33 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo toolchain-funcs + +if [[ ${PV} = 9999 ]]; then + EGIT_REPO_URI="https://git.sr.ht/~mcf/cproc" + inherit git-r3 +else + CPROC_COMMIT="c19a0bd9b78be94b455af55ad8ceb9be49410974" + CPROC_P="${PN}-${CPROC_COMMIT}" + SRC_URI="https://git.sr.ht/~mcf/cproc/archive/${CPROC_COMMIT}.tar.gz -> ${CPROC_P}.tar.gz" + S="${WORKDIR}/${CPROC_P}" + + KEYWORDS="~amd64 ~arm64 ~riscv" +fi + +DESCRIPTION="C11 compiler using QBE as backend" +HOMEPAGE="https://sr.ht/~mcf/cproc/" + +LICENSE="ISC" +SLOT="0" + +DEPEND="sys-devel/qbe" +RDEPEND="${DEPEND}" + +src_configure() { + tc-export CC + + edo ./configure --prefix=/usr +} diff --git a/sys-devel/cproc/cproc-9999.ebuild b/sys-devel/cproc/cproc-9999.ebuild index 163ffe80afba..cb98d7443072 100644 --- a/sys-devel/cproc/cproc-9999.ebuild +++ b/sys-devel/cproc/cproc-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,7 +9,7 @@ if [[ ${PV} = 9999 ]]; then EGIT_REPO_URI="https://git.sr.ht/~mcf/cproc" inherit git-r3 else - CPROC_COMMIT="6fabc79d81de56b6c1cdcc2242933fd792e2ddf9" + CPROC_COMMIT="c19a0bd9b78be94b455af55ad8ceb9be49410974" CPROC_P="${PN}-${CPROC_COMMIT}" SRC_URI="https://git.sr.ht/~mcf/cproc/archive/${CPROC_COMMIT}.tar.gz -> ${CPROC_P}.tar.gz" S="${WORKDIR}/${CPROC_P}" @@ -26,12 +26,6 @@ SLOT="0" DEPEND="sys-devel/qbe" RDEPEND="${DEPEND}" -src_prepare() { - default - - rm -r "${S}/qbe" || die -} - src_configure() { tc-export CC |