commit:     f32a14bd4da5a0002b356b4017752a6a84929751
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 24 10:43:38 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Jun 24 10:43:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f32a14bd

dev-lang/opencilk-bin: new package, add 1.1, migrated from ::flow

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-lang/opencilk-bin/Manifest                |  1 +
 dev-lang/opencilk-bin/metadata.xml            |  8 +++++++
 dev-lang/opencilk-bin/opencilk-bin-1.1.ebuild | 34 +++++++++++++++++++++++++++
 3 files changed, 43 insertions(+)

diff --git a/dev-lang/opencilk-bin/Manifest b/dev-lang/opencilk-bin/Manifest
new file mode 100644
index 000000000..d116e75d5
--- /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 000000000..87a759d41
--- /dev/null
+++ b/dev-lang/opencilk-bin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <name>Florian Schmaus</name>
+               <email>[email protected]</email>
+       </maintainer>
+</pkgmetadata>

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 000000000..dd81382ea
--- /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
+}

Reply via email to