Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/cl/
Date: Sun, 09 Jan 2022 19:11:29
Message-Id: 1641755468.2b34cdf2f5a2bd2b9200d2ddd64be8752a8b034b.asturm@gentoo
1 commit: 2b34cdf2f5a2bd2b9200d2ddd64be8752a8b034b
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 9 19:09:06 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 9 19:11:08 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b34cdf2
7
8 dev-libs/cl: EAPI-8 bump, install missing bits
9
10 Thanks-to: Benedikt Reinartz <filmor <AT> gmail.com>
11 Closes: https://bugs.gentoo.org/757825
12 Package-Manager: Portage-3.0.30, Repoman-3.0.3
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14
15 dev-libs/cl/cl-1.2.4-r1.ebuild | 34 ++++++++++++++++++++++++++++++++++
16 1 file changed, 34 insertions(+)
17
18 diff --git a/dev-libs/cl/cl-1.2.4-r1.ebuild b/dev-libs/cl/cl-1.2.4-r1.ebuild
19 new file mode 100644
20 index 000000000000..0d5f068102db
21 --- /dev/null
22 +++ b/dev-libs/cl/cl-1.2.4-r1.ebuild
23 @@ -0,0 +1,34 @@
24 +# Copyright 1999-2022 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=8
28 +
29 +inherit multilib
30 +
31 +DESCRIPTION="OpenCL bindings for Erlang"
32 +HOMEPAGE="https://github.com/tonyrog/cl"
33 +SRC_URI="https://github.com/tonyrog/cl/archive/${P}.tar.gz"
34 +
35 +LICENSE="MIT"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~x86"
38 +
39 +RDEPEND="
40 + >=dev-lang/erlang-16
41 + dev-util/rebar
42 + virtual/opencl
43 +"
44 +DEPEND="${RDEPEND}"
45 +
46 +S=${WORKDIR}/${PN}-${P}
47 +
48 +src_compile() {
49 + rebar compile || die
50 +}
51 +
52 +src_install() {
53 + ERLANG_DIR="/usr/$(get_libdir)/erlang/lib"
54 + CL_DIR="${ERLANG_DIR}/${P}"
55 + insinto "${CL_DIR}"
56 + doins -r ebin src include c_src examples priv
57 +}