homebrew-core/Formula/align.rb

24 lines
649 B
Ruby
Raw Normal View History

require "formula"
class Align < Formula
desc "Text column alignment filter"
homepage "http://www.cs.indiana.edu/~kinzler/align/"
url "http://www.cs.indiana.edu/~kinzler/align/align-1.7.4.tgz"
sha1 "a1dff741a0080252d79b4b4466ca440dc772c7ae"
2014-06-29 03:47:43 +00:00
bottle do
cellar :any
2014-11-29 15:21:17 +00:00
sha1 "b9db933cf1129d4d29245e527feddefeb7e81ada" => :yosemite
sha1 "524a70b185b3c206d729e13cb2be5b36b50e575b" => :mavericks
sha1 "ac8557b4df591a67b47fa5d3206f553b8e0393d7" => :mountain_lion
2014-06-29 03:47:43 +00:00
end
def install
system "make", "install", "BINDIR=#{bin}"
end
test do
2014-05-04 19:12:41 +00:00
assert_equal " 1 1\n12 12\n", pipe_output(bin/"align", "1 1\n12 12\n")
end
end