From df588698d245e100a17189371690a4fdeb0c2843 Mon Sep 17 00:00:00 2001 From: tduehr Date: Thu, 20 Oct 2016 10:40:33 -0500 Subject: [PATCH] inspectrum 0.1.1 (new formula) --- Formula/inspectrum.rb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Formula/inspectrum.rb diff --git a/Formula/inspectrum.rb b/Formula/inspectrum.rb new file mode 100644 index 0000000000000..8e3e3695220d2 --- /dev/null +++ b/Formula/inspectrum.rb @@ -0,0 +1,21 @@ +class Inspectrum < Formula + desc "Offline radio signal analyser" + homepage "https://github.com/miek/inspectrum" + url "https://github.com/miek/inspectrum/archive/v0.1.1.tar.gz" + sha256 "b139cd7978f294d4872a1e3e70a813f4e9600f7677da5b9f6c431b3fa7f7e03e" + + depends_on "qt5" + depends_on "fftw" + depends_on "cmake" => :build + depends_on "pkg-config" => :build + depends_on "liquid-dsp" + + def install + system "cmake", ".", *std_cmake_args + system "make", "install" + end + + test do + system "inspectrum -h" + end +end