homebrew-core/Formula/align.rb

22 lines
656 B
Ruby
Raw Normal View History

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"
sha256 "4775cc92bd7d5d991b32ff360ab74cfdede06c211def2227d092a5a0108c1f03"
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