summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2022-06-12 01:03:35 -0500
committerMatthias Maier <tamiko@gentoo.org>2022-06-12 01:04:41 -0500
commitabd9a7a9addb14385f8588275ecf3806aa801136 (patch)
tree04985d0a6a3b6ffad3b3b91c4c75ec51561645e2 /sci-libs/arborx
parentdev-python/pycparser: Mark ALLARCHES (diff)
downloadgentoo-abd9a7a9addb14385f8588275ecf3806aa801136.tar.gz
gentoo-abd9a7a9addb14385f8588275ecf3806aa801136.tar.bz2
gentoo-abd9a7a9addb14385f8588275ecf3806aa801136.zip
sci-libs/arborx: initial import
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'sci-libs/arborx')
-rw-r--r--sci-libs/arborx/Manifest1
-rw-r--r--sci-libs/arborx/arborx-1.2.ebuild37
-rw-r--r--sci-libs/arborx/metadata.xml20
3 files changed, 58 insertions, 0 deletions
diff --git a/sci-libs/arborx/Manifest b/sci-libs/arborx/Manifest
new file mode 100644
index 000000000000..fdd46ae98bd0
--- /dev/null
+++ b/sci-libs/arborx/Manifest
@@ -0,0 +1 @@
+DIST arborx-1.2.tar.gz 380705 BLAKE2B eb0006e69edb6cfd1d402dfe5a58db76954c34f847ce8acd1c0f2bd2044a29a434fc01df67829fce4ec911f5c882c1625aa7a50bc39a5d33dfb2c26d6a4cbb4f SHA512 d48650b11fc26770c43f4821999647acb0c7675367e416ad025ab21eb50da66c732f03bc6decf840d25dac26ff7f1f5dca77b7514dffc619cef8d401e83a8795
diff --git a/sci-libs/arborx/arborx-1.2.ebuild b/sci-libs/arborx/arborx-1.2.ebuild
new file mode 100644
index 000000000000..68330b8a5df7
--- /dev/null
+++ b/sci-libs/arborx/arborx-1.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Library for performance portable algorithms for geometric search"
+HOMEPAGE="https://github.com/arborx/ArborX"
+
+SRC_URI="https://github.com/${PN}/ArborX/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+IUSE="mpi"
+
+RDEPEND="dev-libs/boost:=
+ mpi? ( virtual/mpi[cxx] )
+ sci-libs/trilinos"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/ArborX-${PV}
+
+src_configure() {
+ local mycmakeargs=(
+ -DARBORX_ENABLE_MPI="$(usex mpi)"
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+}
diff --git a/sci-libs/arborx/metadata.xml b/sci-libs/arborx/metadata.xml
new file mode 100644
index 000000000000..0a701dff0e71
--- /dev/null
+++ b/sci-libs/arborx/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tamiko@gentoo.org</email>
+ <name>Matthias Maier</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ ArborX is an open-source library designed to provide performance
+ portable algorithms for geometric search, similarly to nanoflann
+ and Boost Geometry.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">arborx/ArborX</remote-id>
+ </upstream>
+</pkgmetadata>