diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
commit | 2fd57282f0262ca084e05b0f2c63fbada395d02b (patch) | |
tree | 4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /dev-libs/cl/cl-1.2.4-r1.ebuild | |
parent | c3bc61051d7f12b4c682efa7a5460bbc8815649e (diff) |
gentoo resync : 16.01.2021
Diffstat (limited to 'dev-libs/cl/cl-1.2.4-r1.ebuild')
-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..c2faafa84d9b --- /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 +} |