1 |
commit: f32a14bd4da5a0002b356b4017752a6a84929751 |
2 |
Author: Florian Schmaus <flow <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 24 10:43:38 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 24 10:43:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f32a14bd |
7 |
|
8 |
dev-lang/opencilk-bin: new package, add 1.1, migrated from ::flow |
9 |
|
10 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
11 |
|
12 |
dev-lang/opencilk-bin/Manifest | 1 + |
13 |
dev-lang/opencilk-bin/metadata.xml | 8 +++++++ |
14 |
dev-lang/opencilk-bin/opencilk-bin-1.1.ebuild | 34 +++++++++++++++++++++++++++ |
15 |
3 files changed, 43 insertions(+) |
16 |
|
17 |
diff --git a/dev-lang/opencilk-bin/Manifest b/dev-lang/opencilk-bin/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..d116e75d5 |
20 |
--- /dev/null |
21 |
+++ b/dev-lang/opencilk-bin/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST OpenCilk-1.1-LLVM-12.0.0-Ubuntu-20.04-x86_64.tar.gz 785074089 BLAKE2B 1fa59979e025619ac19df8442705e8c44b5ee33dd2fed8d6531bc430909fb0b71685aa614a86532a50609b3d5a2d78719dd6720b3073cff0615c0fadf04bd5e7 SHA512 112f6a7033dfd010b7da01dad3221e54f8b46eeaede5d0afa95df07734c25fd063c9a651c3596d5cf15d214804d6cd381e05f26cb8b335a810daab985bf8c368 |
24 |
|
25 |
diff --git a/dev-lang/opencilk-bin/metadata.xml b/dev-lang/opencilk-bin/metadata.xml |
26 |
new file mode 100644 |
27 |
index 000000000..87a759d41 |
28 |
--- /dev/null |
29 |
+++ b/dev-lang/opencilk-bin/metadata.xml |
30 |
@@ -0,0 +1,8 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="person"> |
35 |
+ <name>Florian Schmaus</name> |
36 |
+ <email>flow@g.o</email> |
37 |
+ </maintainer> |
38 |
+</pkgmetadata> |
39 |
|
40 |
diff --git a/dev-lang/opencilk-bin/opencilk-bin-1.1.ebuild b/dev-lang/opencilk-bin/opencilk-bin-1.1.ebuild |
41 |
new file mode 100644 |
42 |
index 000000000..dd81382ea |
43 |
--- /dev/null |
44 |
+++ b/dev-lang/opencilk-bin/opencilk-bin-1.1.ebuild |
45 |
@@ -0,0 +1,34 @@ |
46 |
+# Copyright 1999-2022 Gentoo Authors |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+ |
49 |
+EAPI=8 |
50 |
+ |
51 |
+DESCRIPTION="The OpenCilk concurrency platform for parallel programming" |
52 |
+HOMEPAGE="https://opencilk.org/" |
53 |
+ |
54 |
+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" |
55 |
+ |
56 |
+# Since opencilk-project is a fork of LLVM 12, this lists the licenses |
57 |
+# of LLVM 12, while opencilk-project states that it us under "MIT with |
58 |
+# the OpenCilk Addendum", which basically states that you can |
59 |
+# distributed it under the LLVM licences. I am also not sure if OpenCilk |
60 |
+# is able to change the license of LLVM (which source code they use), |
61 |
+# hence this needs more investigation and we only list t he LLVM 12 |
62 |
+# licenses, because those definetly are correct. |
63 |
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA BSD public-domain rc" |
64 |
+SLOT="0" |
65 |
+KEYWORDS="-* ~amd64" |
66 |
+ |
67 |
+RDEPEND=" |
68 |
+ dev-libs/libxml2 |
69 |
+ sys-libs/ncurses:= |
70 |
+ sys-libs/zlib |
71 |
+" |
72 |
+ |
73 |
+S="${WORKDIR}" |
74 |
+ |
75 |
+src_install() { |
76 |
+ local target="opt/${P}" |
77 |
+ dodir "${target}" |
78 |
+ mv OpenCilk-12.0.0-Linux/* "${ED}/${target}" || die |
79 |
+} |