Skip to content

Commit

Permalink
knock 0.6
Browse files Browse the repository at this point in the history
* Update formula for changes in build scripts
* Avoid installing the man page for a binary we don't include

Closes Homebrew#21056.

Signed-off-by: Misty De Meo <[email protected]>
  • Loading branch information
kreed authored and mistydemeo committed Jul 9, 2013
1 parent 7ac9258 commit b224721
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Library/Formula/knock.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@

class Knock < Formula
homepage 'http:https://www.zeroflux.org/projects/knock'
url 'http:https://www.zeroflux.org/proj/knock/files/knock-0.5.tar.gz'
sha1 '26f3b2f2d698bc6978390ef6e93c628361605059'
url 'http:https://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

0 comments on commit b224721

Please sign in to comment.