From bd95d0282b5a1b41b438a89033a049cb5d6ffe5a Mon Sep 17 00:00:00 2001 From: David Holm Date: Wed, 3 Dec 2014 21:55:08 +0100 Subject: New formula: dsd 1.6 Closes #34652. Signed-off-by: Jack Nagel --- Library/Formula/dsd.rb | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Library/Formula/dsd.rb (limited to 'Library/Formula') 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 -- cgit v1.2.3