summaryrefslogtreecommitdiff
blob: 6314b75fc52314076226493c39b22067bf954c1a (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
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake-utils

DESCRIPTION="vector optimized library of kernels"
HOMEPAGE="http://libvolk.org"
SRC_URI="https://github.com/gnuradio/volk/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+orc"

RDEPEND="dev-libs/boost"
DEPEND="${RDEPEND}
	!net-wireless/gnuradio[-system-volk]
	dev-python/mako
	dev-python/six
	dev-lang/orc"

CMAKE_BUILD_TYPE=Release

src_configure() {
	local mycmakeargs=(
		-DENABLE_ORC=$(usex orc)
	)
	cmake-utils_src_configure
}