commit:     a37171fd051a23faea07444c595aa0647e3f5658
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 20 19:32:21 2017 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon Feb 20 19:33:43 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a37171fd

net-wireless/hackrf-tools: renaming things is cool

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-wireless/hackrf-tools/hackrf-tools-2017.02.1.ebuild | 16 +++++++++-------
 net-wireless/hackrf-tools/hackrf-tools-9999.ebuild      | 16 +++++++++-------
 2 files changed, 18 insertions(+), 14 deletions(-)

diff --git a/net-wireless/hackrf-tools/hackrf-tools-2017.02.1.ebuild 
b/net-wireless/hackrf-tools/hackrf-tools-2017.02.1.ebuild
index 88cfbbf30e..50418fa850 100644
--- a/net-wireless/hackrf-tools/hackrf-tools-2017.02.1.ebuild
+++ b/net-wireless/hackrf-tools/hackrf-tools-2017.02.1.ebuild
@@ -33,13 +33,15 @@ src_install() {
        cmake-utils_src_install
        if [[ ${PV} != "9999" ]] ; then
                insinto /usr/share/hackrf
-               newins 
"${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_jawbreaker_usb_rom_to_ram.bin" 
hackrf_jawbreaker_usb_rom_to_ram-${PV}.bin
-               newins 
"${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_jawbreaker_usb_ram.dfu" 
hackrf_jawbreaker_usb_ram-${PV}.dfu
-               newins 
"${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_one_usb_rom_to_ram.bin" 
hackrf_one_usb_rom_to_ram-${PV}.bin
-               newins 
"${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_one_usb_ram.dfu" 
hackrf_one_usb_ram-${PV}.dfu
-               newins 
"${WORKDIR}/hackrf-${PV}/firmware/cpld/sgpio_if/default.xsvf" 
hackrf_cpld_default-${PV}.xsvf
-               ln -s hackrf_one_usb_rom_to_ram-${PV}.bin 
"${ED}/usr/share/hackrf/hackrf_one_usb_rom_to_ram.bin"
-               ln -s hackrf_one_usb_ram-${PV}.dfu 
"${ED}/usr/share/hackrf/hackrf_one_usb_ram.dfu"
+               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-bin/hackrf_cpld_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."
        fi

diff --git a/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild 
b/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild
index 88cfbbf30e..50418fa850 100644
--- a/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild
+++ b/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild
@@ -33,13 +33,15 @@ src_install() {
        cmake-utils_src_install
        if [[ ${PV} != "9999" ]] ; then
                insinto /usr/share/hackrf
-               newins 
"${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_jawbreaker_usb_rom_to_ram.bin" 
hackrf_jawbreaker_usb_rom_to_ram-${PV}.bin
-               newins 
"${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_jawbreaker_usb_ram.dfu" 
hackrf_jawbreaker_usb_ram-${PV}.dfu
-               newins 
"${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_one_usb_rom_to_ram.bin" 
hackrf_one_usb_rom_to_ram-${PV}.bin
-               newins 
"${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_one_usb_ram.dfu" 
hackrf_one_usb_ram-${PV}.dfu
-               newins 
"${WORKDIR}/hackrf-${PV}/firmware/cpld/sgpio_if/default.xsvf" 
hackrf_cpld_default-${PV}.xsvf
-               ln -s hackrf_one_usb_rom_to_ram-${PV}.bin 
"${ED}/usr/share/hackrf/hackrf_one_usb_rom_to_ram.bin"
-               ln -s hackrf_one_usb_ram-${PV}.dfu 
"${ED}/usr/share/hackrf/hackrf_one_usb_ram.dfu"
+               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-bin/hackrf_cpld_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."
        fi

Reply via email to