inspectrum 0.2 (new formula)
Closes #21366. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
77033a9470
commit
cb963e693e
1 changed files with 22 additions and 0 deletions
22
Formula/inspectrum.rb
Normal file
22
Formula/inspectrum.rb
Normal file
|
@ -0,0 +1,22 @@
|
|||
class Inspectrum < Formula
|
||||
desc "Offline radio signal analyser"
|
||||
homepage "https://github.com/miek/inspectrum"
|
||||
url "https://github.com/miek/inspectrum/archive/v0.2.tar.gz"
|
||||
sha256 "50b7db9b86208f414c387700a358eb58364094f3e8a4985f586f4f815645898a"
|
||||
head "https://github.com/miek/inspectrum.git"
|
||||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "fftw"
|
||||
depends_on "liquid-dsp"
|
||||
depends_on "qt"
|
||||
|
||||
def install
|
||||
system "cmake", ".", *std_cmake_args
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
assert_match "-r, --rate <Hz> Set sample rate.", shell_output("#{bin}/inspectrum -h").strip
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue