From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1D481158086 for ; Sun, 9 Jan 2022 19:11:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06EBF2BC035; Sun, 9 Jan 2022 19:11:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8970A2BC035 for ; Sun, 9 Jan 2022 19:11:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A8070342F51 for ; Sun, 9 Jan 2022 19:11:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A2199287 for ; Sun, 9 Jan 2022 19:11:20 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1641755468.2b34cdf2f5a2bd2b9200d2ddd64be8752a8b034b.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/cl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/cl/cl-1.2.4-r1.ebuild X-VCS-Directories: dev-libs/cl/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 2b34cdf2f5a2bd2b9200d2ddd64be8752a8b034b X-VCS-Branch: master Date: Sun, 9 Jan 2022 19:11:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d83d7e3f-2fbe-433f-88da-c1078484db61 X-Archives-Hash: 033fefab5c59a282db4799ed23ac5b48 commit: 2b34cdf2f5a2bd2b9200d2ddd64be8752a8b034b Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jan 9 19:09:06 2022 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jan 9 19:11:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b34cdf2 dev-libs/cl: EAPI-8 bump, install missing bits Thanks-to: Benedikt Reinartz gmail.com> Closes: https://bugs.gentoo.org/757825 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/cl/cl-1.2.4-r1.ebuild | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/dev-libs/cl/cl-1.2.4-r1.ebuild b/dev-libs/cl/cl-1.2.4-r1.ebuild new file mode 100644 index 000000000000..0d5f068102db --- /dev/null +++ b/dev-libs/cl/cl-1.2.4-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib + +DESCRIPTION="OpenCL bindings for Erlang" +HOMEPAGE="https://github.com/tonyrog/cl" +SRC_URI="https://github.com/tonyrog/cl/archive/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-lang/erlang-16 + dev-util/rebar + virtual/opencl +" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN}-${P} + +src_compile() { + rebar compile || die +} + +src_install() { + ERLANG_DIR="/usr/$(get_libdir)/erlang/lib" + CL_DIR="${ERLANG_DIR}/${P}" + insinto "${CL_DIR}" + doins -r ebin src include c_src examples priv +}