2010-02-26 10:04:54 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Knock < Formula
|
2010-02-26 10:04:54 +00:00
|
|
|
url 'http://www.zeroflux.org/proj/knock/files/knock-0.5.tar.gz'
|
|
|
|
homepage 'http://www.zeroflux.org/projects/knock'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '26f3b2f2d698bc6978390ef6e93c628361605059'
|
2010-02-26 10:04:54 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
|
|
system "make knock man"
|
|
|
|
bin.install "knock"
|
|
|
|
man1.install Dir["doc/*.1"]
|
|
|
|
end
|
|
|
|
end
|