homebrew-core/Formula/pipebench.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

17 lines
391 B
Ruby

require 'formula'
class Pipebench < Formula
homepage 'http://www.habets.pp.se/synscan/programs.php?prog=pipebench'
url 'http://www.habets.pp.se/synscan/files/pipebench-0.40.tar.gz'
sha1 '5ac405b9f1f25b39b3760fd9684533ccb778b26c'
def install
system "make"
bin.install 'pipebench'
man1.install 'pipebench.1'
end
test do
system "#{bin}/pipebench", "-h"
end
end