homebrew-core/Formula/p0f.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

17 lines
451 B
Ruby

require 'formula'
# Official site is no longer responding; use
# this GitHub mirror for now.
class P0f <Formula
url 'http://github.com/downloads/skord/p0f/p0f-2.0.8.tgz'
homepage 'http://github.com/skord/p0f'
md5 '1ccbcd8d4c95ef6dae841120d23c56a5'
def install
inreplace "config.h", "/etc/p0f", "#{etc}/p0f"
system "make"
sbin.install ["p0frep", "p0f"]
(etc+"p0f").install Dir['*.fp']
man1.install gzip("p0f.1")
end
end