homebrew-core/Formula/gnu-apl.rb
Brett Koonce 112a7f83c9 apl 1.4
2014-08-17 10:32:05 -07:00

25 lines
688 B
Ruby

require "formula"
class GnuApl < Formula
homepage "http://www.gnu.org/software/apl/"
url "http://ftpmirror.gnu.org/apl/apl-1.4.tar.gz"
mirror "http://ftp.gnu.org/gnu/apl/apl-1.4.tar.gz"
sha1 "ee5dab7f7c0f5d79c435a20f3ddcafbda85ac22e"
# GNU Readline is required; libedit won't work.
depends_on "readline"
depends_on :macos => :mavericks
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
ENV["TERM"] = "dumb"
system "#{bin}/apl", "--version"
end
end