commit:     941b616a9cfdae9f11d7a658b00d45ae72484ba9
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Nov 28 13:48:03 2016 +0000
Commit:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Mon Nov 28 13:48:03 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=941b616a

dev-libs/opencl-clhpp: New ebuild providing C++ headers for OpenCL development

Package-Manager: portage-2.3.0

 dev-libs/opencl-clhpp/metadata.xml               | 12 ++++++++++
 dev-libs/opencl-clhpp/opencl-clhpp-2.0.10.ebuild | 29 ++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-libs/opencl-clhpp/metadata.xml 
b/dev-libs/opencl-clhpp/metadata.xml
new file mode 100644
index 0000000..222c1e3
--- /dev/null
+++ b/dev-libs/opencl-clhpp/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <name>Marius Brehler</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>[email protected]</email>
+    <name>Gentoo Science Project</name>
+  </maintainer>
+</pkgmetadata>
\ No newline at end of file

diff --git a/dev-libs/opencl-clhpp/opencl-clhpp-2.0.10.ebuild 
b/dev-libs/opencl-clhpp/opencl-clhpp-2.0.10.ebuild
new file mode 100644
index 0000000..9d71325
--- /dev/null
+++ b/dev-libs/opencl-clhpp/opencl-clhpp-2.0.10.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+MY_PN="OpenCL-CLHPP"
+
+DESCRIPTION="OpenCL Host API C++ bindings (cl.hpp and cl2.hpp)"
+HOMEPAGE="https://github.com/KhronosGroup/OpenCL-CLHPP";
+SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+KEYWORDS="~amd64"
+
+LICENSE="MIT-KhronosGroup"
+SLOT="0"
+IUSE="examples"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DBUILD_DOCS=OFF
+               -DBUILD_EXAMPLES=OFF
+               -DBUILD_TESTS=OFF
+       )
+       cmake-utils_src_configure
+}
\ No newline at end of file

Reply via email to