homebrew-core/Formula/gnu-apl.rb
Brett Koonce 85d79cf058 gnu-apl 1.3
Closes Homebrew/homebrew#27976.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-04-13 16:09:56 -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.3.tar.gz'
mirror 'http://ftp.gnu.org/gnu/apl/apl-1.3.tar.gz'
sha1 'f4cd44a716dc5c5af1cd88811e10efa03d327fd2'
# 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