forked from sjackman/linuxbrew-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
align.rb
26 lines (22 loc) · 1.09 KB
/
align.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
class Align < Formula
desc "Text column alignment filter"
homepage "https://www.cs.indiana.edu/~kinzler/align/"
url "https://www.cs.indiana.edu/~kinzler/align/align-1.7.5.tgz"
sha256 "cc692fb9dee0cc288757e708fc1a3b6b56ca1210ca181053a371cb11746969dd"
bottle do
cellar :any_skip_relocation
sha256 "4b0b70a5909b7d6d2fa78fcb4e36acb20295202adbdbd6bf5754530f7e055199" => :high_sierra
sha256 "4d07f4f2ae948de293afdc80a5a736cf81da7c335cec1778f5b7304debda6599" => :sierra
sha256 "c2c177c8be3b5a58e60f3a1f39d9fdd3cc3d39247d92be45142cd06ae80273bf" => :el_capitan
sha256 "caa9e8c3b3a9d946b95d5222b1518c5307499d57fe17f593ec3911f9cc6eace7" => :yosemite
sha256 "f903cb30e079f56c5743e2ca22a168c61d7a7c57b2cf6bc3c6492ed214a296a3" => :mavericks
sha256 "b9eb7dd92c0d92a1baff4714c8f4c7b8b14d4d7cf6102e40af88a9a0d96d3348" => :x86_64_linux # glibc 2.19
end
conflicts_with "speech-tools", :because => "both install `align` binaries"
def install
system "make", "install", "BINDIR=#{bin}"
end
test do
assert_equal " 1 1\n12 12\n", pipe_output(bin/"align", "1 1\n12 12\n")
end
end