dev-libs/cl - 1.2.4-r2 (gentoo)

Search

Package Information

Description:
OpenCL bindings for Erlang
Homepage:
https://github.com/tonyrog/cl
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.2.4-r2 8 amd64 x86 0
View Raw Ebuild
# 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
}

Dependencies

DEPEND

	>=dev-lang/erlang-16
	dev-util/rebar:0
	virtual/opencl

RDEPEND

	>=dev-lang/erlang-16
	dev-util/rebar:0
	virtual/opencl