homebrew-core/Formula/p0f.rb
Pieter Nicolai 4cb3a46015 p0f 3.03b
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-01-21 16:18:34 -08:00

14 lines
354 B
Ruby

require 'formula'
class P0f < Formula
url 'http://lcamtuf.coredump.cx/p0f3/releases/p0f-3.03b.tgz'
homepage 'http://lcamtuf.coredump.cx/p0f3/'
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