diff --git a/dev-lang/opencilk-bin/Manifest b/dev-lang/opencilk-bin/Manifest new file mode 100644 index 0000000000..d116e75d5a --- /dev/null +++ b/dev-lang/opencilk-bin/Manifest @@ -0,0 +1 @@ +DIST OpenCilk-1.1-LLVM-12.0.0-Ubuntu-20.04-x86_64.tar.gz 785074089 BLAKE2B 1fa59979e025619ac19df8442705e8c44b5ee33dd2fed8d6531bc430909fb0b71685aa614a86532a50609b3d5a2d78719dd6720b3073cff0615c0fadf04bd5e7 SHA512 112f6a7033dfd010b7da01dad3221e54f8b46eeaede5d0afa95df07734c25fd063c9a651c3596d5cf15d214804d6cd381e05f26cb8b335a810daab985bf8c368 diff --git a/dev-lang/opencilk-bin/metadata.xml b/dev-lang/opencilk-bin/metadata.xml new file mode 100644 index 0000000000..87a759d410 --- /dev/null +++ b/dev-lang/opencilk-bin/metadata.xml @@ -0,0 +1,8 @@ + + + + + Florian Schmaus + flow@gentoo.org + + diff --git a/dev-lang/opencilk-bin/opencilk-bin-1.1.ebuild b/dev-lang/opencilk-bin/opencilk-bin-1.1.ebuild new file mode 100644 index 0000000000..dd81382eac --- /dev/null +++ b/dev-lang/opencilk-bin/opencilk-bin-1.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="The OpenCilk concurrency platform for parallel programming" +HOMEPAGE="https://opencilk.org/" + +SRC_URI="https://github.com/OpenCilk/opencilk-project/releases/download/opencilk%2Fv${PV}/OpenCilk-${PV}-LLVM-12.0.0-Ubuntu-20.04-x86_64.tar.gz" + +# Since opencilk-project is a fork of LLVM 12, this lists the licenses +# of LLVM 12, while opencilk-project states that it us under "MIT with +# the OpenCilk Addendum", which basically states that you can +# distributed it under the LLVM licences. I am also not sure if OpenCilk +# is able to change the license of LLVM (which source code they use), +# hence this needs more investigation and we only list t he LLVM 12 +# licenses, because those definetly are correct. +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA BSD public-domain rc" +SLOT="0" +KEYWORDS="-* ~amd64" + +RDEPEND=" + dev-libs/libxml2 + sys-libs/ncurses:= + sys-libs/zlib +" + +S="${WORKDIR}" + +src_install() { + local target="opt/${P}" + dodir "${target}" + mv OpenCilk-12.0.0-Linux/* "${ED}/${target}" || die +}