summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-06-11 11:52:56 +0200
committerJeroen Roovers <jer@gentoo.org>2016-06-11 12:08:57 +0200
commitb2a0d4f08471f8a932654e1a5993533877a06f51 (patch)
tree1d0f85c08fdc83d2026eed43285d90515136d494 /dev-libs/cl
parentmedia-libs/esdl: Version bump. (diff)
downloadgentoo-b2a0d4f08471f8a932654e1a5993533877a06f51.tar.gz
gentoo-b2a0d4f08471f8a932654e1a5993533877a06f51.tar.bz2
gentoo-b2a0d4f08471f8a932654e1a5993533877a06f51.zip
dev-libs/cl: Initial commit by Brian Gortney (bug #502066).
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-libs/cl')
-rw-r--r--dev-libs/cl/Manifest1
-rw-r--r--dev-libs/cl/cl-1.2.1.ebuild32
-rw-r--r--dev-libs/cl/cl-9999.ebuild34
-rw-r--r--dev-libs/cl/metadata.xml8
4 files changed, 75 insertions, 0 deletions
diff --git a/dev-libs/cl/Manifest b/dev-libs/cl/Manifest
new file mode 100644
index 000000000000..a93f40639329
--- /dev/null
+++ b/dev-libs/cl/Manifest
@@ -0,0 +1 @@
+DIST cl-1.2.1.tar.gz 125248 SHA256 8889f005fe595e7e8ed67105ef37fc55b4ac47c972d60aeac418bf0401125b0e SHA512 2c864a0aec0d2c4b1cf193372b699b9d1e99af9638a7f1515a744b416706b1bf2a10f727da0d04375405b9ca7470bda2c0278149c999f98d1cd760782f33a1b1 WHIRLPOOL 1cbba99f82aa9c31e0e5f9937b79181c82b42e9c5c000d47cf75921e0333d648819055e082fd25cf8805df26cc9a7c08886ea444cc6b2d6037931bff37291960
diff --git a/dev-libs/cl/cl-1.2.1.ebuild b/dev-libs/cl/cl-1.2.1.ebuild
new file mode 100644
index 000000000000..8dbad115069c
--- /dev/null
+++ b/dev-libs/cl/cl-1.2.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/esdl/esdl-1.2.ebuild,v 1.1 2013/02/12 14:41:54 george Exp $
+
+EAPI=6
+inherit eutils fixheadtails 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() {
+ insinto "${CL_DIR}"
+ doins -r ebin src include c_src examples
+}
diff --git a/dev-libs/cl/cl-9999.ebuild b/dev-libs/cl/cl-9999.ebuild
new file mode 100644
index 000000000000..eb125992a21f
--- /dev/null
+++ b/dev-libs/cl/cl-9999.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/esdl/esdl-1.2.ebuild,v 1.1 2013/02/12 14:41:54 george Exp $
+
+EAPI=6
+inherit eutils fixheadtails 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() {
+ addpredict /usr/$(get_libdir)/erlang/lib
+ ERLANG_DIR="/usr/$(get_libdir)/erlang/lib"
+ CL_DIR="${ERLANG_DIR}/${P}"
+
+ insinto "${CL_DIR}"
+ doins -r ebin src include c_src examples
+}
diff --git a/dev-libs/cl/metadata.xml b/dev-libs/cl/metadata.xml
new file mode 100644
index 000000000000..a8fb43312942
--- /dev/null
+++ b/dev-libs/cl/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>jer@gentoo.org</email>
+<name>Jeroen Roovers</name>
+</maintainer>
+</pkgmetadata>