sys-devel/cproc - 9999 (gentoo)

Search

Install

Install this version:

emerge -a =sys-devel/cproc-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-devel/cproc-9999

Or alternatively:

emerge --autounmask-write -a =sys-devel/cproc-9999

Package Information

Description:
C11 compiler using QBE as backend
Homepage:
https://sr.ht/~mcf/cproc/
License:
ISC

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 ~arm64 ~riscv 0
View Raw Ebuild
# 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
}

Inherited Eclasses

edo

Dependencies

DEPEND

sys-devel/qbe

RDEPEND

sys-devel/qbe

Manifest for 9999

Type File Size Source URLs
DIST cproc-c19a0bd9b78be94b455af55ad8ceb9be49410974.tar.gz 84602 bytes https://git.sr.ht/~mcf/cproc/archive/c19a0bd9b78be94b455af55ad8ceb9be49410974.tar.gz