Add new package: librtlsdr (#18780)

This commit is contained in:
darmac 2020-09-24 09:45:47 +08:00 committed by GitHub
parent f2093dc3c4
commit 527ea798c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,18 @@
# 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)
from spack import *
class Librtlsdr(CMakePackage):
"""turns your Realtek RTL2832 based DVB dongle into a SDR receiver."""
homepage = "https://osmocom.org/projects/rtl-sdr/wiki"
url = "https://github.com/steve-m/librtlsdr/archive/0.6.0.tar.gz"
version('0.6.0', sha256='80a5155f3505bca8f1b808f8414d7dcd7c459b662a1cde84d3a2629a6e72ae55')
version('0.5.4', sha256='6fd0d298c1a18fc8005b0c2f6199b08bc15e3fb4f4312f551eea2ae269c940c5')
depends_on('libusb')