homebrew-core/Formula/knock.rb

16 lines
443 B
Ruby
Raw Normal View History

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