diff options
Diffstat (limited to 'dev-cpp/clhpp')
| -rw-r--r-- | dev-cpp/clhpp/Manifest | 1 | ||||
| -rw-r--r-- | dev-cpp/clhpp/clhpp-2024.10.24.ebuild | 37 | ||||
| -rw-r--r-- | dev-cpp/clhpp/metadata.xml | 5 |
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-cpp/clhpp/Manifest b/dev-cpp/clhpp/Manifest new file mode 100644 index 000000000000..cfa2b154cd48 --- /dev/null +++ b/dev-cpp/clhpp/Manifest @@ -0,0 +1 @@ +DIST clhpp-2024.10.24.tar.gz 132695 BLAKE2B 8f608db559771814b058d97f8cbbba8e89053ae062bd9ba228fbe0614a9ad56dd25a92acfcf2cb3f5dd5a3ae0800ff8526618aaa2842038c1eeafd9c452c0942 SHA512 7cdadc8ef182d1556346bd34b5a9ffe6e239ab61ec527e5609d69e1bcaf81a88f3fc534f5bdeed037236e1b0e61f1544d2a95c06df55f9cd8e03e13baf4143ba diff --git a/dev-cpp/clhpp/clhpp-2024.10.24.ebuild b/dev-cpp/clhpp/clhpp-2024.10.24.ebuild new file mode 100644 index 000000000000..79ecc4568203 --- /dev/null +++ b/dev-cpp/clhpp/clhpp-2024.10.24.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +MY_PN="OpenCL-CLHPP" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Khronos OpenCL C++ bindings" +HOMEPAGE="https://github.com/KhronosGroup/OpenCL-CLHPP/" +SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="Khronos-CLHPP" +SLOT="0" +KEYWORDS="amd64 ppc64 x86" + +# Tests require CMock (NOT cmocka), which is currently not in Gentoo +# and has been found to be extremely awkward to package. +# Should it ever get packaged, consult git history for how to set things up +# for the clhpp test suite. +RESTRICT="test" + +RDEPEND="virtual/opencl" +DEPEND="${RDEPEND} + >=dev-util/opencl-headers-${PV}" + +src_configure() { + local mycmakeargs=( + -DBUILD_DOCS=OFF + -DBUILD_EXAMPLES=OFF + -DBUILD_TESTING=OFF + ) + cmake_src_configure +} diff --git a/dev-cpp/clhpp/metadata.xml b/dev-cpp/clhpp/metadata.xml new file mode 100644 index 000000000000..5f33304011d5 --- /dev/null +++ b/dev-cpp/clhpp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
