diff options
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/Manifest.gz | bin | 9466 -> 9799 bytes | |||
-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 | ||||
-rw-r--r-- | sys-devel/qbe/Manifest | 4 | ||||
-rw-r--r-- | sys-devel/qbe/metadata.xml | 12 | ||||
-rw-r--r-- | sys-devel/qbe/qbe-1.0.ebuild | 35 | ||||
-rw-r--r-- | sys-devel/qbe/qbe-9999.ebuild | 31 |
9 files changed, 180 insertions, 0 deletions
diff --git a/sys-devel/Manifest.gz b/sys-devel/Manifest.gz Binary files differindex dc0413c40efc..975050f9ef17 100644 --- a/sys-devel/Manifest.gz +++ b/sys-devel/Manifest.gz 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> diff --git a/sys-devel/qbe/Manifest b/sys-devel/qbe/Manifest new file mode 100644 index 000000000000..9a4b4ad1f75b --- /dev/null +++ b/sys-devel/qbe/Manifest @@ -0,0 +1,4 @@ +DIST qbe-1.0.tar.xz 237756 BLAKE2B ca6e1ee81f7329a8aee1f4597de391dcc44595fb8371468360fbcf1a5fc9fa404c614d49e4668fba568fa8d11e753d10b4c46380884fa635a56331b059b69abd SHA512 7f53d4440fda36b21dbf390aa8b9c17ae7c137a6e034dd73ca1c2068d84dbe236a452d86cab8d8bce0b3d66c3f08e70f2bf54bc7cc2e93208cc1900014c18ad1 +EBUILD qbe-1.0.ebuild 626 BLAKE2B dfde2632cd7e020c676e451dc92d3733b1747c6af97d6108a2fb779674d8a5f988039e84a7bcf3563a04a3111b7d105d7a412c28fb1fbbd11edb19f6fcfbbeb6 SHA512 909d5e5249a4556ca2c8fbedfe345b9618d2b2405fa4250fb0d6999446fddc1f2ef58d03e50e1bfcaabfe216d52f3f9c844f1c1a40d4d3a023fdd82c1705c931 +EBUILD qbe-9999.ebuild 586 BLAKE2B 587a90046f6cf812f69c6b23dc5cf85f5067c3e40785e3025de7dab9354a7a08696b37dcfa0cb168826401207ba288f8acc479ac4ea5e6ff6c2399579fc730bc SHA512 14dec7a60b7c398c12f9e92e32dbfcda15543961e208c6f51bc44a5a5f46f60196d892f281c5f5ddfc5b0565db2de0aa2c63ac93287519cc332ba3fa6eb26557 +MISC metadata.xml 409 BLAKE2B 61d1ac0ebe8ac2bbd208fe98e5f7f32e208315ddf71e19faf0d1b5c39f5b93fe9896ff0b9738d607d7baef54c8b026d55bc83a0d27813be65a5404f507ef2754 SHA512 3e1d53e71543488d3e9308a6b8a4ee454a69ffb26e542e0218029fe19c2eeba07aaef2167d4c9280ede9ef7d0901514d7ff82656b798a947e469b730a9e4cf85 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.ebuild b/sys-devel/qbe/qbe-1.0.ebuild new file mode 100644 index 000000000000..d041b7d0b849 --- /dev/null +++ b/sys-devel/qbe/qbe-1.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="git://c9x.me/qbe.git" + inherit git-r3 +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() { + tc-export CC + + 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..2b2487f3dbbd --- /dev/null +++ b/sys-devel/qbe/qbe-9999.ebuild @@ -0,0 +1,31 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="git://c9x.me/qbe.git" + inherit git-r3 +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 +} |