homebrew-core/Formula/ack.rb

19 lines
409 B
Ruby
Raw Normal View History

require 'formula'
2013-06-06 23:25:31 +00:00
class Ack < Formula
homepage 'http://beyondgrep.com/'
url 'http://beyondgrep.com/ack-2.08-single-file'
sha1 'c0fa19ba31ecc1afe186c5a061c1361ae2a258f3'
version '2.08'
def install
bin.install "ack-2.08-single-file" => "ack"
system "pod2man", "#{bin}/ack", "ack.1"
man1.install "ack.1"
end
2013-01-27 22:36:42 +00:00
test do
system "#{bin}/ack", 'brew', '/usr/share/dict/words'
2013-01-27 22:36:42 +00:00
end
2009-09-22 19:10:17 +00:00
end