homebrew-core/Formula/p0f.rb
Austin Seipp 2e7883378f p0f 3.06b
Closes .

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-24 12:48:05 -07:00

14 lines
359 B
Ruby

require 'formula'
class P0f < Formula
homepage 'http://lcamtuf.coredump.cx/p0f3/'
url 'http://lcamtuf.coredump.cx/p0f3/releases/p0f-3.06b.tgz'
sha1 'fecc9ed8b79dbf8e4d5ffbd22eda9d850b42c3c3'
def install
inreplace "config.h", "p0f.fp", "#{etc}/p0f/p0f.fp"
system "./build.sh"
sbin.install "p0f"
(etc+"p0f").install "p0f.fp"
end
end