diff options
Diffstat (limited to 'sys-devel/cproc')
-rw-r--r-- | sys-devel/cproc/Manifest | 4 | ||||
-rw-r--r-- | sys-devel/cproc/cproc-0_pre20220805.ebuild | 39 | ||||
-rw-r--r-- | sys-devel/cproc/cproc-9999.ebuild | 39 | ||||
-rw-r--r-- | sys-devel/cproc/metadata.xml | 16 |
4 files changed, 98 insertions, 0 deletions
diff --git a/sys-devel/cproc/Manifest b/sys-devel/cproc/Manifest new file mode 100644 index 000000000000..c201e6a124c9 --- /dev/null +++ b/sys-devel/cproc/Manifest @@ -0,0 +1,4 @@ +DIST cproc-6fabc79d81de56b6c1cdcc2242933fd792e2ddf9.tar.gz 80893 BLAKE2B f708649714f0fbc3e7b60dc87585603970eb350de4ce1f02fe9b5783714ef09fa38b4b4ec7a8b0553047e84edc0f752963c84df32dacd9585c435098e57be47c SHA512 355e3ca8fb481d9e32d0621787beee7b0e6f53f107bbb9512f89382c599daa581b89e7da3957c09b81a994ebce9f06df08df0833b010b055a8ff947c8cc8d02e +EBUILD cproc-0_pre20220805.ebuild 758 BLAKE2B b63de493862875a2ddb3d2a7c9474e3e08841c578f52ad47ec68a4b3fc837ead65026f0937c2a4d2d0eee59b7ca6861faebd8f77412f46e247001b3609992939 SHA512 bfc4e11d5f88c60ff8abda845511119ec0652145123396dbb67d6ad7d62183eb51e5f7c42eed21761833fb53e9dcd3d22a18f256054dd1a21c9ee141260a8b41 +EBUILD cproc-9999.ebuild 758 BLAKE2B b63de493862875a2ddb3d2a7c9474e3e08841c578f52ad47ec68a4b3fc837ead65026f0937c2a4d2d0eee59b7ca6861faebd8f77412f46e247001b3609992939 SHA512 bfc4e11d5f88c60ff8abda845511119ec0652145123396dbb67d6ad7d62183eb51e5f7c42eed21761833fb53e9dcd3d22a18f256054dd1a21c9ee141260a8b41 +MISC metadata.xml 546 BLAKE2B 3b038aa090db76c825c38bc6414a77804c61ce4362e336b7a9843adb7c5e85cbcae065157d2b9ad94e08a0dfa975718bed38745323339e8d1f44c4b07c8e9dcb SHA512 89bc340a22a2b1c0c4641af7c86b9d341cad29879ee1d575bd44ead0af00f853be84cfb244441f82124b8cf629edd626db790fdeade8d7b971e746841a53d835 diff --git a/sys-devel/cproc/cproc-0_pre20220805.ebuild b/sys-devel/cproc/cproc-0_pre20220805.ebuild new file mode 100644 index 000000000000..163ffe80afba --- /dev/null +++ b/sys-devel/cproc/cproc-0_pre20220805.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021-2022 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="6fabc79d81de56b6c1cdcc2242933fd792e2ddf9" + 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_prepare() { + default + + rm -r "${S}/qbe" || die +} + +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 new file mode 100644 index 000000000000..163ffe80afba --- /dev/null +++ b/sys-devel/cproc/cproc-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021-2022 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="6fabc79d81de56b6c1cdcc2242933fd792e2ddf9" + 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_prepare() { + default + + rm -r "${S}/qbe" || die +} + +src_configure() { + tc-export CC + + edo ./configure --prefix=/usr +} diff --git a/sys-devel/cproc/metadata.xml b/sys-devel/cproc/metadata.xml new file mode 100644 index 000000000000..507ef71566c5 --- /dev/null +++ b/sys-devel/cproc/metadata.xml @@ -0,0 +1,16 @@ +<?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> + <upstream> + <remote-id type="sourcehut">~mcf/cproc</remote-id> + <remote-id type="github">michaelforney/cproc</remote-id> + </upstream> +</pkgmetadata> |