summaryrefslogtreecommitdiff
path: root/dev-libs/clhpp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
commitb7ebc951da8800f711142f69d9d958bde67a112d (patch)
treee318514216845acb8f2e49fff7a5cba4027e9d91 /dev-libs/clhpp
parentdc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff)
gentoo resync : 28.04.2019
Diffstat (limited to 'dev-libs/clhpp')
-rw-r--r--dev-libs/clhpp/Manifest3
-rw-r--r--dev-libs/clhpp/clhpp-2.0.10.ebuild49
-rw-r--r--dev-libs/clhpp/metadata.xml11
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-libs/clhpp/Manifest b/dev-libs/clhpp/Manifest
new file mode 100644
index 000000000000..524cccf8516a
--- /dev/null
+++ b/dev-libs/clhpp/Manifest
@@ -0,0 +1,3 @@
+DIST clhpp-2.0.10.tar.gz 129954 BLAKE2B 1beb9b41ce1ad8ec88d0ccfa5f1d7a7af931841fa64d79b9eb9db90538f1b43f3cee5c74dc015ba835ee4ded2e926967bc3aa00dcc6ec0f5b65a04f9618ea1a9 SHA512 4a4898540c55422ca0cc6ba7f0c5495b915fc34df50f8add90e7f06dd5ef1d01a767234ecdee3757292980aa2f938e773177bcc73f28ac9c1b42d386863dea58
+EBUILD clhpp-2.0.10.ebuild 964 BLAKE2B e727a53b2b985851b1689002e5eb303bb9e728d5e3218c5a518e31f14b4f00ec0a52be3ef61a998a892b22e02ab9ddcc1ff5de161e84d8e92c38be5293c746a5 SHA512 c43291742252f91a58de66909adf2ead8f005712f3ecbe334abb1cc8661ca62b35566582509b70b914e0b71fc99c4106bc39a072bafbbed3c528a9ef6ba9549d
+MISC metadata.xml 336 BLAKE2B cf9637d462e3606aa1a49639f60217f003e2271fa064d6bb36e9d1744c3b84815c0b75c2d42a3e761876879ea7eb92c32986f8e54926ed7e544690035985a86a SHA512 77d25c077302f6e92b83c869c45c9f91131160fa250f5a5087067e3291a1a0954e883ae110d20d9420cd9c01720803977ccf1d5ff6250bee91d6e5192798e55d
diff --git a/dev-libs/clhpp/clhpp-2.0.10.ebuild b/dev-libs/clhpp/clhpp-2.0.10.ebuild
new file mode 100644
index 000000000000..dcea074146dd
--- /dev/null
+++ b/dev-libs/clhpp/clhpp-2.0.10.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python2_7 python3_5 python3_6 python3_7 )
+
+DESCRIPTION="Khronos OpenCL C++ bindings"
+HOMEPAGE="https://github.com/KhronosGroup/OpenCL-CLHPP/"
+SRC_URI="https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Khronos-CLHPP"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+inherit python-any-r1 cmake-utils
+
+DEPEND="virtual/opencl"
+RDEPEND="${DEPEND}"
+BDEPEND="${PYTHON_DEPS}"
+
+src_unpack() {
+ unpack ${A}
+ # create symlink to change name
+ ln -s OpenCL-CLHPP-${PV} ${P}
+}
+
+src_prepare() {
+ # User patches + QA
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/include"
+ -DBUILD_DOCS=OFF
+ -DBUILD_EXAMPLES=OFF
+ -DBUILD_TESTS=OFF
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+}
diff --git a/dev-libs/clhpp/metadata.xml b/dev-libs/clhpp/metadata.xml
new file mode 100644
index 000000000000..61f42884c3d1
--- /dev/null
+++ b/dev-libs/clhpp/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="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+</maintainer>
+<longdescription lang="en">
+Khronos (tm) provided headers for C++ bindings for OpenCL.
+</longdescription>
+</pkgmetadata>