You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/cl/cl-9999.ebuild

32 lines
588 B

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit git-r3 multilib
DESCRIPTION="OpenCL bindings for Erlang"
HOMEPAGE="https://github.com/tonyrog/cl"
EGIT_REPO_URI="https://github.com/tonyrog/cl.git"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
RDEPEND="
>=dev-lang/erlang-16
virtual/opencl
dev-util/rebar
"
DEPEND="${RDEPEND}"
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
}