summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/hackrf-host/package.py
blob: 2888187677f8d16dc14918f847f58371613b8843 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 2013-2022 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)


from spack.package import *


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:')