mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 13:20:57 +02:00
btle-sniffer: cmake-utils -> cmake
This commit is contained in:
parent
11591eaa04
commit
a7d77291a6
2 changed files with 4 additions and 35 deletions
|
|
@ -1,31 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="A BTLE (Bluetooth Low energy)/BT4.0 radio packet sniffer/scanner and sender"
|
||||
HOMEPAGE="http://sdr-x.github.io/BTLE-SNIFFER/"
|
||||
HASH_COMMIT=
|
||||
SRC_URI="https://github.com/JiaoXianjun/BTLE/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="bladerf +hackrf"
|
||||
|
||||
DEPEND="hackrf? ( net-libs/libhackrf )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
REQUIRED_USE="^^ ( bladerf hackrf )"
|
||||
|
||||
S="${WORKDIR}/BTLE-${PV}/host"
|
||||
|
||||
src_configure() {
|
||||
#without -DUSE_BLADERF=1 means HACKRF will be used by default
|
||||
local mycmakeargs=(
|
||||
$(usex bladerf -DUSE_BLADERF=1)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Bluetooth radio packet sniffer/scanner and sender"
|
||||
HOMEPAGE="http://sdr-x.github.io/BTLE-SNIFFER/ https://github.com/JiaoXianjun/BTLE"
|
||||
|
|
@ -27,5 +27,5 @@ src_configure() {
|
|||
local mycmakeargs=(
|
||||
$(usex bladerf -DUSE_BLADERF=1)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue