diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-01-09 20:09:06 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-01-09 20:11:08 +0100 |
commit | 2b34cdf2f5a2bd2b9200d2ddd64be8752a8b034b (patch) | |
tree | e1ee89d04b74168139c829cd13cdb01b7cc9d856 /dev-libs/cl | |
parent | dev-libs/cl: Drop unmaintained live ebuild (diff) | |
download | gentoo-2b34cdf2f5a2bd2b9200d2ddd64be8752a8b034b.tar.gz gentoo-2b34cdf2f5a2bd2b9200d2ddd64be8752a8b034b.tar.bz2 gentoo-2b34cdf2f5a2bd2b9200d2ddd64be8752a8b034b.zip |
dev-libs/cl: EAPI-8 bump, install missing bits
Thanks-to: Benedikt Reinartz <filmor@gmail.com>
Closes: https://bugs.gentoo.org/757825
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/cl')
-rw-r--r-- | dev-libs/cl/cl-1.2.4-r1.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
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 +} |