inspectrum 0.2 (new formula)

Closes #21366.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Ben Konosky 2017-12-05 12:57:58 -08:00 committed by FX Coudert
parent 77033a9470
commit cb963e693e

22
Formula/inspectrum.rb Normal file
View 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