diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-09-29 14:09:46 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-09-29 15:29:00 +0200 |
commit | 2afd01573212f560d787edda625e9af3cea14692 (patch) | |
tree | 81ec123d5a7e4c4ab816d1efc74c67e8ea861bc8 /dev-libs/cl/cl-1.2.4.ebuild | |
parent | profiles: mask rust docs on arm64 (diff) | |
download | gentoo-2afd01573212f560d787edda625e9af3cea14692.tar.gz gentoo-2afd01573212f560d787edda625e9af3cea14692.tar.bz2 gentoo-2afd01573212f560d787edda625e9af3cea14692.zip |
dev-libs/cl: Version 1.2.4.
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'dev-libs/cl/cl-1.2.4.ebuild')
-rw-r--r-- | dev-libs/cl/cl-1.2.4.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/cl/cl-1.2.4.ebuild b/dev-libs/cl/cl-1.2.4.ebuild new file mode 100644 index 000000000000..060444f5d50b --- /dev/null +++ b/dev-libs/cl/cl-1.2.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils multilib + +DESCRIPTION="OpenCL bindings for Erlang" +HOMEPAGE="https://github.com/tonyrog/cl" +SRC_URI="${HOMEPAGE}/archive/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-lang/erlang-16 + virtual/opencl + dev-util/rebar +" +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 +} |