2014-10-21 20:45:20 +00:00
|
|
|
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"
|
|
|
|
|
2014-10-30 18:54:42 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "465e7ae270b503a83bbdfc04703fea2a293d67f1" => :yosemite
|
|
|
|
sha1 "4d93c4c6724fb8f2fa97db8f292b87727b62b7aa" => :mavericks
|
|
|
|
sha1 "ad1b2fa7bf448e4fad18f93dc23e43521dce1857" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2014-10-21 20:45:20 +00:00
|
|
|
depends_on "readline"
|
|
|
|
|
|
|
|
option :universal
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2014-11-02 09:51:03 +00:00
|
|
|
system "echo 'exit' | #{bin}/with-readline /usr/bin/expect"
|
2014-10-21 20:45:20 +00:00
|
|
|
end
|
|
|
|
end
|