mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-14 04:03:09 +01:00
net-wireless/nrf_sniffer_ble: add ebuild, add to pentoo-radio
This commit is contained in:
parent
e892d59c4f
commit
416f7872d1
3 changed files with 40 additions and 0 deletions
1
net-wireless/nrf_sniffer_ble/Manifest
Normal file
1
net-wireless/nrf_sniffer_ble/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST nrf_sniffer_ble-4.1.0.zip 1159131 BLAKE2B 503638e50f983c4cc4c281d734fc4aefd7e614dbf8d0fa9f299555993dc1d79ba87e352d6751e5e5a8f8f168c8376ca4cd7bc50d796a2edfa6fc5cca334ea7bc SHA512 a43f63afb51daca48ba069dc705142f5a6a5ec4ebcae12592971961ffd9732ba36569082068c43a470296e880ee3e46cc8d5cb95f4b01de3c52dc411058efdc9
|
||||
38
net-wireless/nrf_sniffer_ble/nrf_sniffer_ble-4.1.0.ebuild
Normal file
38
net-wireless/nrf_sniffer_ble/nrf_sniffer_ble-4.1.0.ebuild
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit python-any-r1
|
||||
|
||||
DESCRIPTION="nRF Sniffer for Bluetooth LE"
|
||||
HOMEPAGE="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE"
|
||||
SRC_URI="https://www.nordicsemi.com/-/media/Software-and-other-downloads/Desktop-software/nRF-Sniffer/sw/nrf_sniffer_for_bluetooth_le_4.1.0.zip -> ${P}.zip"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="net-analyzer/wireshark
|
||||
${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
$(python_gen_any_dep 'dev-python/pyserial[${PYTHON_USEDEP}]')"
|
||||
BDEPEND=""
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN}
|
||||
doins "hex/sniffer_nrf51dk_nrf51422_${PV}.hex"
|
||||
doins "hex/sniffer_nrf52833dk_nrf52833_${PV}.hex"
|
||||
doins "hex/sniffer_nrf52840dongle_nrf52840_${PV}.hex"
|
||||
doins "hex/sniffer_nrf51dongle_nrf51422_${PV}.hex"
|
||||
doins "hex/sniffer_nrf52840dk_nrf52840_${PV}.hex"
|
||||
doins "hex/sniffer_nrf52dk_nrf52832_${PV}.hex"
|
||||
|
||||
exeinto "/usr/$(get_libdir)/wireshark/extcap"
|
||||
doexe extcap/nrf_sniffer_ble.py
|
||||
insinto "/usr/$(get_libdir)/wireshark/extcap"
|
||||
doins -r extcap/SnifferAPI
|
||||
}
|
||||
|
|
@ -21,6 +21,7 @@ PDEPEND="net-wireless/gnuradio[uhd?]
|
|||
rtlsdr? ( net-wireless/rtl-sdr )
|
||||
|
||||
bluetooth? (
|
||||
net-wireless/nrf_sniffer_ble
|
||||
bladerf? ( net-wireless/btle-sniffer )
|
||||
hackrf? ( net-wireless/btle-sniffer )
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue