blob: adc8c379d832cedc250d8c6fa8a4f1bca31b22e9 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 | require "formula"
class WithReadline < Formula
  homepage "http://www.greenend.org.uk/rjk/sw/withreadline.html"
  url "http://www.greenend.org.uk/rjk/sw/with-readline-0.1.1.tar.gz"
  sha1 "ac32f4b23853024f2a42441fa09b20cbe7617ff5"
  bottle do
    cellar :any
    sha1 "465e7ae270b503a83bbdfc04703fea2a293d67f1" => :yosemite
    sha1 "4d93c4c6724fb8f2fa97db8f292b87727b62b7aa" => :mavericks
    sha1 "ad1b2fa7bf448e4fad18f93dc23e43521dce1857" => :mountain_lion
  end
  depends_on "readline"
  option :universal
  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make", "install"
  end
  test do
    system "echo 'exit' | #{bin}/with-readline /usr/bin/expect"
  end
end
 |