summaryrefslogtreecommitdiff
path: root/dev-libs/cl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/cl
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/cl')
-rw-r--r--dev-libs/cl/Manifest5
-rw-r--r--dev-libs/cl/cl-1.2.3.ebuild33
-rw-r--r--dev-libs/cl/cl-9999.ebuild31
-rw-r--r--dev-libs/cl/metadata.xml11
4 files changed, 80 insertions, 0 deletions
diff --git a/dev-libs/cl/Manifest b/dev-libs/cl/Manifest
new file mode 100644
index 000000000000..f0be2f859c21
--- /dev/null
+++ b/dev-libs/cl/Manifest
@@ -0,0 +1,5 @@
+DIST cl-1.2.3.tar.gz 137921 SHA256 a9731825ee9b8057006ebb6b472466d51278d1a0e1fa496cf132b5456c54f15b SHA512 aaa19700b1b54921ea8194e1b7fcb2dbb11f22c32108fd99d0cd9796c7524a49653dcc97c8c8b34f7739d0b972cbbc3cf61b929e342429b524b11df93e434863 WHIRLPOOL b2eed33f453551619fa55484448f7a858a4394186d96a784b6a008aebb61ddd1f4a9b18d5660f4a5c6225408e93a0458f3cfb22a92f3c8bd75003ac028cb58fa
+EBUILD cl-1.2.3.ebuild 617 SHA256 4b67488c7b14d8f598a6aaa6104d3cb3260265a13b4717a75c0a8fced75f1bb4 SHA512 b73796dd9347e79f2bd908c90a7527a2f8c119c96ef248751136b1e60df240f4fe1fb43955569045450470745502ad36b0296127ca665f86d4f76c9c5de4ea17 WHIRLPOOL 9a575548ab531b3d144dfcd727fcb39b47c5d5ad165c20c80d72833e024d04043095709dddbb96a5eacfc647bac0f13341ca014abc014961ade1572119e5e0e5
+EBUILD cl-9999.ebuild 598 SHA256 c5bdf066f03f3473c9708c0e5ed5ffe021e12a1e3650d975134998aa641e1c03 SHA512 9c19c9546d93683432aff81fe2bccc305b663c832fb85514879884dc76c6b52f149173ed0e05e5a0851e66bcc839bb1b5a4b9368e8a91d6057094e3b04d09c21 WHIRLPOOL 514675eb3c343c9780388da3cf587d4aa5741d1f38a53cc261248762fb20095ce48d6212c131785079035f541109229f0f825e9c3300ba0cd7df484f98d5d6a3
+MISC ChangeLog 999 SHA256 837ff7b98f10ffa1aa14c8ce29c9776cf23311e9c3ad4625fc06c9ef7222d93c SHA512 22e0ad8c9cd86b100cad14a725c47baa10caa9830c717eaa28e50fd492a51c99ecc0b4c2a5f0ebf9026da7392ca5d1cf05763717fa190098c787ee1097edf0d6 WHIRLPOOL caf6377b740218be3d5275aab307eeb451b8faf77d4f54a84989e43ba46f475e638e05bbf189830c80680fec62e87ce418aa34473d52848c74ef21eb78a45ff6
+MISC metadata.xml 319 SHA256 1913ad418b69519c6fb9fb333c0e5b07ec451839e4b411ab0a49693cb1801716 SHA512 b3bcd712352fb18ec4125fc66e6d5c6bae148afc1530742a834b6026c911c9b2848d51c133366a18d59dc7bd30c7943b506211f1fb905e7ca224239ba5d09bea WHIRLPOOL 75734d3121def71a6d728c81e8b07a368bf99dd9fa69cd870789e3adf63ec6ec0e308fdca62f5172ee10583bf11080cdfc42891cf4e1ef6e8dab6426e751cf39
diff --git a/dev-libs/cl/cl-1.2.3.ebuild b/dev-libs/cl/cl-1.2.3.ebuild
new file mode 100644
index 000000000000..04a7a2574ca8
--- /dev/null
+++ b/dev-libs/cl/cl-1.2.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# 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
+}
diff --git a/dev-libs/cl/cl-9999.ebuild b/dev-libs/cl/cl-9999.ebuild
new file mode 100644
index 000000000000..da4f1445d486
--- /dev/null
+++ b/dev-libs/cl/cl-9999.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils 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
+}
diff --git a/dev-libs/cl/metadata.xml b/dev-libs/cl/metadata.xml
new file mode 100644
index 000000000000..b2f11e650c2a
--- /dev/null
+++ b/dev-libs/cl/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="github">tonyrog/cl</remote-id>
+ </upstream>
+</pkgmetadata>