summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2013-06-11 03:52:29 +0000
committerRick Farina <zerochaos@gentoo.org>2013-06-11 03:52:29 +0000
commitf91ec0ed5e0fd1301e60924eb02d70c9cda60468 (patch)
tree2f4ee00bd245b660a44a5bd62b43ee7eb90a7a35 /net-wireless/hackrf-tools
parentThe code base has almost completely started over and the build system is enti... (diff)
downloadgentoo-2-f91ec0ed5e0fd1301e60924eb02d70c9cda60468.tar.gz
gentoo-2-f91ec0ed5e0fd1301e60924eb02d70c9cda60468.tar.bz2
gentoo-2-f91ec0ed5e0fd1301e60924eb02d70c9cda60468.zip
adding firmware to tagged release
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Diffstat (limited to 'net-wireless/hackrf-tools')
-rw-r--r--net-wireless/hackrf-tools/ChangeLog6
-rw-r--r--net-wireless/hackrf-tools/hackrf-tools-2013.06.1.ebuild10
-rw-r--r--net-wireless/hackrf-tools/hackrf-tools-9999.ebuild10
3 files changed, 23 insertions, 3 deletions
diff --git a/net-wireless/hackrf-tools/ChangeLog b/net-wireless/hackrf-tools/ChangeLog
index ab2cf08a81c8..b6b5ec8c19cd 100644
--- a/net-wireless/hackrf-tools/ChangeLog
+++ b/net-wireless/hackrf-tools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-wireless/hackrf-tools
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hackrf-tools/ChangeLog,v 1.2 2013/06/11 03:06:20 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hackrf-tools/ChangeLog,v 1.3 2013/06/11 03:52:29 zerochaos Exp $
+
+ 11 Jun 2013; Rick Farina <zerochaos@gentoo.org> hackrf-tools-2013.06.1.ebuild,
+ hackrf-tools-9999.ebuild:
+ adding firmware to tagged release
*hackrf-tools-2013.06.1 (11 Jun 2013)
diff --git a/net-wireless/hackrf-tools/hackrf-tools-2013.06.1.ebuild b/net-wireless/hackrf-tools/hackrf-tools-2013.06.1.ebuild
index a0ff107c11cb..b4c1bad5f662 100644
--- a/net-wireless/hackrf-tools/hackrf-tools-2013.06.1.ebuild
+++ b/net-wireless/hackrf-tools/hackrf-tools-2013.06.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hackrf-tools/hackrf-tools-2013.06.1.ebuild,v 1.1 2013/06/11 03:06:20 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hackrf-tools/hackrf-tools-2013.06.1.ebuild,v 1.2 2013/06/11 03:52:29 zerochaos Exp $
EAPI=5
@@ -28,3 +28,11 @@ IUSE=""
DEPEND="virtual/libusb:1
net-libs/libhackrf:="
RDEPEND="${DEPEND}"
+
+src_install() {
+ cmake-utils_src_install
+ if [[ ${PV} != "9999" ]] ; then
+ insinto /lib/firmware
+ newins "${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_usb_rom_to_ram.bin" hackrf_usb_rom_to_ram-${PV}.bin
+ fi
+}
diff --git a/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild b/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild
index 6c99f18f8186..bef56a40168f 100644
--- a/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild
+++ b/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild,v 1.2 2013/06/11 03:06:20 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild,v 1.3 2013/06/11 03:52:29 zerochaos Exp $
EAPI=5
@@ -28,3 +28,11 @@ IUSE=""
DEPEND="virtual/libusb:1
net-libs/libhackrf:="
RDEPEND="${DEPEND}"
+
+src_install() {
+ cmake-utils_src_install
+ if [[ ${PV} != "9999" ]] ; then
+ insinto /lib/firmware
+ newins "${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_usb_rom_to_ram.bin" hackrf_usb_rom_to_ram-${PV}.bin
+ fi
+}