diff --git a/Formula/minimodem.rb b/Formula/minimodem.rb new file mode 100644 index 0000000000..00e4f6b188 --- /dev/null +++ b/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