blob: 00e4f6b188e278c5d5ac19f3f1bc2acedbb2b63f (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
 |