mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
net-wireless/hackrf-tools: drop 2023.01.1
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST hackrf-2023.01.1.tar.xz 23030956 BLAKE2B f0ea4f92208d1db5b4e1c11231e4420db757c08e28e7a80d79e70b02d868689ddf516bc6f003fc208f60c221c9153412a12fe3cbdf8f58001c1f7cdd26383ac0 SHA512 7c2ef9c5c050e258a0d1695240f9163955cb3ea9ab9163aad6bdbdebfdb82cde9925818ced3323342fe9c4ddb80dcedbc5a7986caaa4e0b7036e8e07bec0296e
|
||||
DIST hackrf-2024.02.1.tar.xz 21734672 BLAKE2B 493a886719aa90e1b52229beaec45cb9db315dc91d001c275dd3989cde56fe6a312d4fca1c27b4c1366a4653880e74ab3d1e4363ee392d0f93deb631b7fddac4 SHA512 d057574f1e9b1bc2cebcd06773054b7fcba55d44e4c028f4f95e67874b71bd0a83906795a391e283c15d2b21ad7f3e8337be5aa0ee2f6a3c57632a70da10e2e4
|
||||
DIST hackrf-2026.01.3.tar.xz 25945024 BLAKE2B e861d2250c59006fa42b63666c629bca2186d79a408dd7d0615023790434c3c06611e985da5a6c4bcbb776017d46ba7b90ba1d99825caa018318e361dbb0741f SHA512 776aab11d23976ba87bf9c8af9c669b1e4967540a5b48d23d355cd0759d08b7fb36c88675082819fbca4cfd2fcdd19afbd79dea04f79128c23063334c45dd6b9
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="tools for communicating with HackRF SDR platform"
|
||||
HOMEPAGE="http://greatscottgadgets.com/hackrf/"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/greatscottgadgets/hackrf.git"
|
||||
inherit git-r3
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/hackrf"
|
||||
S="${WORKDIR}/hackrf/host/hackrf-tools"
|
||||
else
|
||||
S="${WORKDIR}/hackrf-${PV}/host/hackrf-tools"
|
||||
SRC_URI="https://github.com/greatscottgadgets/hackrf/releases/download/v${PV}/hackrf-${PV}.tar.xz"
|
||||
KEYWORDS="amd64 arm ppc x86"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="~net-libs/libhackrf-${PV}:=
|
||||
sci-libs/fftw:3.0="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
newsbin "${FILESDIR}/hackrf_easy_flash-r1" hackrf_easy_flash
|
||||
if [[ ${PV} != "9999" ]] ; then
|
||||
insinto /usr/share/hackrf
|
||||
newins "${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_jawbreaker_usb.bin" hackrf_jawbreaker_usb-${PV}.bin
|
||||
newins "${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_jawbreaker_usb.dfu" hackrf_jawbreaker_usb-${PV}.dfu
|
||||
newins "${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_one_usb.bin" hackrf_one_usb-${PV}.bin
|
||||
newins "${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_one_usb.dfu" hackrf_one_usb-${PV}.dfu
|
||||
newins "${WORKDIR}/hackrf-${PV}/firmware/cpld/sgpio_if/default.xsvf" hackrf_cpld_default-${PV}.xsvf
|
||||
ln -s hackrf_one_usb-${PV}.bin "${ED}/usr/share/hackrf/hackrf_one_usb_rom_to_ram.bin"
|
||||
ln -s hackrf_one_usb-${PV}.bin "${ED}/usr/share/hackrf/hackrf_one_usb.bin"
|
||||
ln -s hackrf_one_usb-${PV}.dfu "${ED}/usr/share/hackrf/hackrf_one_usb_ram.dfu"
|
||||
ln -s hackrf_one_usb-${PV}.dfu "${ED}/usr/share/hackrf/hackrf_one_usb.dfu"
|
||||
else
|
||||
ewarn "The compiled firmware files are only available in the versioned releases, you are on your own for this."
|
||||
ewarn "A hackrf-firmware ebuild is available in the pentoo overlay, if you feel adventurous."
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user