homebrew-core/Formula/align.rb

23 lines
607 B
Ruby
Raw Normal View History

require 'formula'
class Align < Formula
homepage 'http://www.cs.indiana.edu/~kinzler/align/'
2014-06-29 03:24:26 +00:00
url 'http://www.cs.indiana.edu/~kinzler/align/align-1.7.3.tgz'
sha1 'fca5e53a7a3a95e740e7d12941f4edbee78ca084'
2014-06-29 03:47:43 +00:00
bottle do
cellar :any
sha1 "6883eab5710385e8890fb52a8a6ac248f6bb29b7" => :mavericks
sha1 "12b51ccae39d06623f7475e289fd6eb6dbb89d7f" => :mountain_lion
sha1 "58e739c1df5c04ef37303c822fd4c859bf9e89eb" => :lion
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