commit:     9c42327dd7e99c24595c265ee3174c425a61c52e
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed May 12 10:19:00 2021 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Wed May 12 10:23:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9c42327d

dev-cpp/vexcl: new package WIP

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-cpp/vexcl/Manifest           |  1 +
 dev-cpp/vexcl/metadata.xml       | 17 +++++++++++++++++
 dev-cpp/vexcl/vexcl-1.4.2.ebuild | 30 ++++++++++++++++++++++++++++++
 3 files changed, 48 insertions(+)

diff --git a/dev-cpp/vexcl/Manifest b/dev-cpp/vexcl/Manifest
new file mode 100644
index 000000000..4d6698137
--- /dev/null
+++ b/dev-cpp/vexcl/Manifest
@@ -0,0 +1 @@
+DIST vexcl-1.4.2.tar.gz 412861 BLAKE2B 
145948d2c2e6712a30542eca6690fe9f260cc9fe2064ffd01aaa89c3ddae1e0826206ffedfc362a6fb128f2909fc22948957f40cb45dc963d703abdff2ddd386
 SHA512 
b8bc759269025be21865178485015eb8489596be80c505d4699efdb517cb610a2d5fed10545ec7888f4cb4c7b3e2db5e3c2dd879c0d2fd95d2d0e59d1d3b790f

diff --git a/dev-cpp/vexcl/metadata.xml b/dev-cpp/vexcl/metadata.xml
new file mode 100644
index 000000000..7f91bd111
--- /dev/null
+++ b/dev-cpp/vexcl/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <longdescription>VexCL is a vector expression template library for 
OpenCL/CUDA. It has been created for ease of GPGPU development with C++. VexCL 
strives to reduce amount of boilerplate code needed to develop GPGPU 
applications. The library provides convenient and intuitive notation for vector 
arithmetic, reduction, sparse matrix-vector products, etc. Multi-device and 
even multi-platform computations are supported. The source code of the library 
is distributed under very permissive MIT license.</longdescription>
+       <maintainer type="person">
+               <description>comaintainers welcome</description>
+               <email>[email protected]</email>
+               <name>Alessandro Barbieri</name>
+       </maintainer>
+       <upstream>
+               <maintainer>
+                       <email>[email protected]</email>
+                       <name>Denis Demidov</name>
+               </maintainer>
+               <remote-id type="github">ddemidov/vexcl</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-cpp/vexcl/vexcl-1.4.2.ebuild b/dev-cpp/vexcl/vexcl-1.4.2.ebuild
new file mode 100644
index 000000000..8190e38bb
--- /dev/null
+++ b/dev-cpp/vexcl/vexcl-1.4.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="VexCL - Vector expression template library for OpenCL"
+HOMEPAGE="https://github.com/ddemidov/vexcl";
+SRC_URI="https://github.com/ddemidov/vexcl/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+#TODO: cuda doc test
+IUSE="examples"
+
+RDEPEND="
+       dev-libs/boost:=
+       virtual/opencl
+"
+DEPEND="${RDEPEND}"
+
+src_install() {
+       cmake_src_install
+       if use examples; then
+               dodoc -r examples
+               docompress -x "/usr/share/doc/${P}/examples"
+       fi
+}

Reply via email to