aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/dsd.rb31
1 files changed, 31 insertions, 0 deletions
diff --git a/Library/Formula/dsd.rb b/Library/Formula/dsd.rb
new file mode 100644
index 000000000..e0279637a
--- /dev/null
+++ b/Library/Formula/dsd.rb
@@ -0,0 +1,31 @@
+require "formula"
+
+class Dsd < Formula
+ homepage "http://wiki.radioreference.com/index.php/Digital_Speech_Decoder_%28software_package%29"
+ head "https://github.com/szechyjs/dsd.git"
+ url "https://github.com/szechyjs/dsd/archive/v1.6.0.tar.gz"
+ sha1 "0161a0b1090ae30b5413e24b29b54d2392a3b0ff"
+
+ patch do
+ # Fixes build on MacOS X.
+ url "https://github.com/szechyjs/dsd/commit/e40c32d8addf3ab94dae42d8c0fcf9ef27e453c2.diff"
+ sha1 "3c122d4e841cfbcb0653a810ce62dc038a5a54bf"
+ end
+
+ depends_on "cmake" => :build
+ depends_on "libsndfile"
+ depends_on "mbelib"
+ depends_on "itpp"
+ depends_on "portaudio"
+
+ def install
+ mkdir "build" do
+ system "cmake", "..", *std_cmake_args
+ system "make", "install"
+ end
+ end
+
+ test do
+ system "dsd", "-h"
+ end
+end