summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/bladerf-firmware/bladerf-firmware-2.3.2.ebuild')
-rw-r--r--net-wireless/bladerf-firmware/bladerf-firmware-2.3.2.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/net-wireless/bladerf-firmware/bladerf-firmware-2.3.2.ebuild b/net-wireless/bladerf-firmware/bladerf-firmware-2.3.2.ebuild
new file mode 100644
index 00000000000..2ec5be50f74
--- /dev/null
+++ b/net-wireless/bladerf-firmware/bladerf-firmware-2.3.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="bladeRF FX3 firmware images"
+HOMEPAGE="http://nuand.com/fx3.php"
+
+#firmware is open source, but uses a proprietary toolchain to build
+#automated builds from git are available, but likely unneeded
+#http://hoopycat.com/bladerf_builds/
+SRC_URI="http://nuand.com/fx3/bladeRF_fw_v${PV}.img"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${DISTDIR}"
+
+src_unpack() {
+ true
+}
+
+src_install() {
+ insinto /usr/share/Nuand/bladeRF/
+ doins bladeRF_fw_v${PV}.img
+}
+
+pkg_postinst() {
+ elog "Please remember you have to actually flash this onto"
+ elog "your bladerf with the following command:"
+ elog "bladeRF-cli -f /usr/share/Nuand/bladeRF/bladeRF_fw_v${PV}.img"
+}