knock 0.6
* Update formula for changes in build scripts * Avoid installing the man page for a binary we don't include Closes Homebrew/homebrew#21056. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
This commit is contained in:
parent
b4cfe03967
commit
4d3fc2ef83
1 changed files with 5 additions and 6 deletions
|
@ -2,14 +2,13 @@ require 'formula'
|
|||
|
||||
class Knock < Formula
|
||||
homepage 'http://www.zeroflux.org/projects/knock'
|
||||
url 'http://www.zeroflux.org/proj/knock/files/knock-0.5.tar.gz'
|
||||
sha1 '26f3b2f2d698bc6978390ef6e93c628361605059'
|
||||
url 'http://www.zeroflux.org/proj/knock/files/knock-0.6.tar.gz'
|
||||
sha1 '38bfee90ba3af780b3f8dc1179f0c52d47b60d2c'
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
system "make knock man"
|
||||
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
||||
system "make knock"
|
||||
bin.install "knock"
|
||||
man1.install Dir["doc/*.1"]
|
||||
man1.install "doc/knock.1"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue