summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/hackrf-host/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/hackrf-host/package.py')
-rw-r--r--var/spack/repos/builtin/packages/hackrf-host/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hackrf-host/package.py b/var/spack/repos/builtin/packages/hackrf-host/package.py
new file mode 100644
index 0000000000..572e3b91b0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hackrf-host/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class HackrfHost(CMakePackage):
+ """Software for HackRF, a low cost, open source Software Defined
+ Radio platform."""
+
+ homepage = "https://github.com/mossmann/hackrf"
+ url = "https://github.com/mossmann/hackrf/archive/v2018.01.1.tar.gz"
+
+ maintainers = ['aweits']
+
+ root_cmakelists_dir = 'host'
+
+ version('2018.01.1', sha256='84dbb5536d3aa5bd6b25d50df78d591e6c3431d752de051a17f4cb87b7963ec3')
+
+ depends_on('cmake@2.8.12:', type='build')
+ depends_on('libusb@1.0.18:')
+ depends_on('fftw@3.3.5:')