homebrew-core/Formula/p0f.rb
2012-02-10 20:47:51 -08:00

14 lines
350 B
Ruby

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