homebrew-core/Formula/align.rb

25 lines
842 B
Ruby
Raw Normal View History

class Align < Formula
desc "Text column alignment filter"
2015-10-13 23:34:59 +00:00
homepage "https://www.cs.indiana.edu/~kinzler/align/"
2015-10-12 21:38:21 +00:00
url "https://www.cs.indiana.edu/~kinzler/align/align-1.7.4.tgz"
sha256 "4775cc92bd7d5d991b32ff360ab74cfdede06c211def2227d092a5a0108c1f03"
2014-06-29 03:47:43 +00:00
bottle do
2015-10-14 04:28:07 +00:00
cellar :any_skip_relocation
revision 1
sha256 "41bd26049033526b97ba0f105b167557fa235528ae219e910fad5e100b7da739" => :el_capitan
sha256 "19858dfce4d7c21a5cd013200a5f725a54c924227f08d5f19b5f2a9a0c44054a" => :yosemite
sha256 "783440c9aaca24183a35be475b268d82dd33acccaef86f3e4eb8b2ca8e1ed1d1" => :mavericks
2014-06-29 03:47:43 +00:00
end
2015-11-01 22:13:08 +00:00
conflicts_with "speech-tools", :because => "both install `align` binaries"
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