You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
658 B
33 lines
658 B
# Copyright 1999-2020 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)
|
|
)
|
|
cmake-utils_src_configure
|
|
}
|