1 |
commit: e7773552b82db1a5b7a10fbf9f5c86d77a0b2e8b |
2 |
Author: Slawomir Lis <slis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 30 04:36:52 2019 +0000 |
4 |
Commit: Slawek Lis <slis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 30 05:08:25 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7773552 |
7 |
|
8 |
dev-libs/libflatarray: added version 0.2.0 |
9 |
|
10 |
This version is required to build libgeodecomp, latest |
11 |
one seems not to be supported yet. |
12 |
|
13 |
Package-Manager: Portage-2.3.73, Repoman-2.3.17 |
14 |
Signed-off-by: Slawek Lis <slis <AT> gentoo.org> |
15 |
|
16 |
dev-libs/libflatarray/Manifest | 1 + |
17 |
dev-libs/libflatarray/libflatarray-0.2.0.ebuild | 33 +++++++++++++++++++++++++ |
18 |
2 files changed, 34 insertions(+) |
19 |
|
20 |
diff --git a/dev-libs/libflatarray/Manifest b/dev-libs/libflatarray/Manifest |
21 |
index 40387084ff3..af1a157d02f 100644 |
22 |
--- a/dev-libs/libflatarray/Manifest |
23 |
+++ b/dev-libs/libflatarray/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
+DIST libflatarray-0.2.0.tar.bz2 34193 BLAKE2B 8f409b097a0dfe037e9fdd1f8ed3b0ba86ef9ab816219b9357d119afa1c7236c0a467d9705fd5050ccbdc54ee40b811d2daee0a697f8ba720f037294d0305d52 SHA512 96050c08479429baf22a9694ca7354e1ab4fa892976d4098419e2863cac8e21aec586116a1702a5050753febd9b9321a14fc4da5d6487cf75a574562ec4d4647 |
26 |
DIST libflatarray-0.3.0.tar.bz2 104544 BLAKE2B 9ac490a526fbd71478ac569538bad28e01a1a91bd71d37e85bf89181e856e79b2dec6af5415f238e5f72fbbe57cda59ee87ebd79cd273887061e2bbb93a7ce31 SHA512 c58339cdadf98f552d2f1b440a293c48923f32fc43a5a06ee8b8a40835a5f6c21514f7a9efa0ff23930ab9fdda8d4389641ec83c589e1982dbf5a3f75d2ffd37 |
27 |
|
28 |
diff --git a/dev-libs/libflatarray/libflatarray-0.2.0.ebuild b/dev-libs/libflatarray/libflatarray-0.2.0.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..35250d070a6 |
31 |
--- /dev/null |
32 |
+++ b/dev-libs/libflatarray/libflatarray-0.2.0.ebuild |
33 |
@@ -0,0 +1,33 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+inherit cmake-utils cuda |
40 |
+ |
41 |
+SRC_URI="http://www.libgeodecomp.org/archive/${P}.tar.bz2" |
42 |
+KEYWORDS="~amd64 ~ppc ~x86" |
43 |
+ |
44 |
+DESCRIPTION="Struct of arrays library with object oriented interface for C++" |
45 |
+HOMEPAGE="http://www.libgeodecomp.org/libflatarray.html" |
46 |
+ |
47 |
+SLOT="0" |
48 |
+LICENSE="Boost-1.0" |
49 |
+IUSE="cuda doc" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ doc? ( app-doc/doxygen ) |
53 |
+ cuda? ( dev-util/nvidia-cuda-toolkit )" |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ cmake-utils_src_prepare |
57 |
+ use cuda && cuda_src_prepare |
58 |
+} |
59 |
+ |
60 |
+src_configure() { |
61 |
+ local mycmakeargs=( |
62 |
+ -DWITH_CUDA=$(usex cuda) |
63 |
+ -DWITH_SILO=false |
64 |
+ ) |
65 |
+ cmake-utils_src_configure |
66 |
+} |