summaryrefslogtreecommitdiff
path: root/dev-lang/opencilk-bin/opencilk-bin-2.1.ebuild
blob: ce1e114ced0b78361bb1dd59ce828a14e209f6ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2025 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}.0-x86_64-linux-gnu-ubuntu-22.04.tar.gz"

S="${WORKDIR}"

# 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:=
	virtual/zlib
"

QA_FLAGS_IGNORED="opt/${P}/.*"

src_install() {
	local target="opt/${P}"
	dodir "${target}"
	mv opencilk-2.1.0-x86_64-linux-gnu-ubuntu-22.04/* "${ED}/${target}" || die
}