blob: 77da37bac0712bbdc02bf3b7ac0d152ed926e2ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs cmake
DESCRIPTION="SIMD accelerated C++ JSON library"
HOMEPAGE="
https://simdjson.org/
https://github.com/simdjson/simdjson
"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0 Boost-1.0"
SLOT="0/2"
KEYWORDS="~amd64 ~x86"
IUSE="test"
BDEPEND="
sys-apps/file
sys-apps/findutils
sys-apps/grep
"
RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
$(usex test '' '-DSIMDJSON_JUST_LIBRARY=ON')
)
cmake_src_configure
}
|