From 488cd41af6e9621d8adac28db1782c41d3e69908 Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Sat, 9 Apr 2022 13:52:46 +0100 Subject: dev-libs/cl: depend on slotted rebar2 Also quote $WORKDIR. Signed-off-by: Matthew Smith --- dev-libs/cl/cl-1.2.4-r1.ebuild | 32 -------------------------------- dev-libs/cl/cl-1.2.4-r2.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 32 deletions(-) delete mode 100644 dev-libs/cl/cl-1.2.4-r1.ebuild create mode 100644 dev-libs/cl/cl-1.2.4-r2.ebuild (limited to 'dev-libs/cl') diff --git a/dev-libs/cl/cl-1.2.4-r1.ebuild b/dev-libs/cl/cl-1.2.4-r1.ebuild deleted file mode 100644 index 8d9a8d858935..000000000000 --- a/dev-libs/cl/cl-1.2.4-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -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 -} diff --git a/dev-libs/cl/cl-1.2.4-r2.ebuild b/dev-libs/cl/cl-1.2.4-r2.ebuild new file mode 100644 index 000000000000..94c50104bc4a --- /dev/null +++ b/dev-libs/cl/cl-1.2.4-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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:0 + 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 +} -- cgit v1.2.3-65-gdbad