dev-libs/libflatarray: added version 0.2.0
authorSlawomir Lis <slis@gentoo.org>
Fri, 30 Aug 2019 04:36:52 +0000 (06:36 +0200)
committerSlawomir Lis <slis@gentoo.org>
Fri, 30 Aug 2019 05:08:25 +0000 (07:08 +0200)
This version is required to build libgeodecomp, latest
one seems not to be supported yet.

Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Slawek Lis <slis@gentoo.org>
dev-libs/libflatarray/Manifest
dev-libs/libflatarray/libflatarray-0.2.0.ebuild [new file with mode: 0644]

index 40387084ff3be89cc2a11dcd9ad127ee5185a020..af1a157d02f104f93c23e352502a3c6e2645d2c2 100644 (file)
@@ -1 +1,2 @@
+DIST libflatarray-0.2.0.tar.bz2 34193 BLAKE2B 8f409b097a0dfe037e9fdd1f8ed3b0ba86ef9ab816219b9357d119afa1c7236c0a467d9705fd5050ccbdc54ee40b811d2daee0a697f8ba720f037294d0305d52 SHA512 96050c08479429baf22a9694ca7354e1ab4fa892976d4098419e2863cac8e21aec586116a1702a5050753febd9b9321a14fc4da5d6487cf75a574562ec4d4647
 DIST libflatarray-0.3.0.tar.bz2 104544 BLAKE2B 9ac490a526fbd71478ac569538bad28e01a1a91bd71d37e85bf89181e856e79b2dec6af5415f238e5f72fbbe57cda59ee87ebd79cd273887061e2bbb93a7ce31 SHA512 c58339cdadf98f552d2f1b440a293c48923f32fc43a5a06ee8b8a40835a5f6c21514f7a9efa0ff23930ab9fdda8d4389641ec83c589e1982dbf5a3f75d2ffd37
diff --git a/dev-libs/libflatarray/libflatarray-0.2.0.ebuild b/dev-libs/libflatarray/libflatarray-0.2.0.ebuild
new file mode 100644 (file)
index 0000000..35250d0
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils cuda
+
+SRC_URI="http://www.libgeodecomp.org/archive/${P}.tar.bz2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DESCRIPTION="Struct of arrays library with object oriented interface for C++"
+HOMEPAGE="http://www.libgeodecomp.org/libflatarray.html"
+
+SLOT="0"
+LICENSE="Boost-1.0"
+IUSE="cuda doc"
+
+DEPEND="
+       doc? ( app-doc/doxygen )
+       cuda? ( dev-util/nvidia-cuda-toolkit )"
+
+src_prepare() {
+       cmake-utils_src_prepare
+       use cuda && cuda_src_prepare
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DWITH_CUDA=$(usex cuda)
+               -DWITH_SILO=false
+       )
+       cmake-utils_src_configure
+}