homebrew-core/Formula/psgrep.rb

21 lines
450 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Psgrep < Formula
homepage 'http://code.google.com/p/psgrep/'
url 'https://psgrep.googlecode.com/files/psgrep-1.0.6.tar.bz2'
2011-03-26 19:59:50 +00:00
sha1 'fe1102546971358a5eff2cff613d70ee63395444'
2013-05-28 05:32:27 +00:00
head 'http://psgrep.googlecode.com/hg/'
2013-01-29 05:06:08 +00:00
def install
bin.install "psgrep"
man1.install "psgrep.1"
end
test do
output = `#{bin}/psgrep #{Process.pid}`
assert output.include?($0)
assert_equal 0, $?.exitstatus
end
end