aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/minimodem.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/minimodem.rb b/Library/Formula/minimodem.rb
new file mode 100644
index 000000000..00e4f6b18
--- /dev/null
+++ b/Library/Formula/minimodem.rb
@@ -0,0 +1,23 @@
+require "formula"
+
+class Minimodem < Formula
+ homepage "http://www.whence.com/minimodem/"
+ url "http://www.whence.com/minimodem/minimodem-0.19.tar.gz"
+ sha1 "4548677df8c1e16cb4c31d26502017f3204ad128"
+
+ depends_on "pkg-config" => :build
+ depends_on "libsndfile"
+ depends_on "fftw"
+ depends_on "pulseaudio"
+
+ def install
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--without-alsa"
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/minimodem", "--version"
+ end
+end