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
|
|
|
homepage 'http://www.zeroflux.org/projects/knock'
|
2013-07-07 15:49:45 +00:00
|
|
|
url 'http://www.zeroflux.org/proj/knock/files/knock-0.6.tar.gz'
|
|
|
|
sha1 '38bfee90ba3af780b3f8dc1179f0c52d47b60d2c'
|
2010-02-26 10:04:54 +00:00
|
|
|
|
|
|
|
def install
|
2013-07-07 15:49:45 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
|
|
system "make knock"
|
2010-02-26 10:04:54 +00:00
|
|
|
bin.install "knock"
|
2013-07-07 15:49:45 +00:00
|
|
|
man1.install "doc/knock.1"
|
2010-02-26 10:04:54 +00:00
|
|
|
end
|
|
|
|
end
|