wslay: fix audit

wslay:
  * `head block` (line 18) should be put before `option` (line 16)
  * http://wslay.sourceforge.net/ should be `https://wslay.sourceforge.io/`
This commit is contained in:
Miguel Araújo 2017-02-12 09:08:22 -03:00 committed by Mike McQuaid
parent d35ac966ce
commit 4173a3de2d

View file

@ -1,6 +1,6 @@
class Wslay < Formula
desc "C websocket library"
homepage "http://wslay.sourceforge.net/"
homepage "https://wslay.sourceforge.io/"
url "https://downloads.sourceforge.net/project/wslay/wslay-1.0.0/wslay-1.0.0.tar.xz"
sha256 "148d5272255b76034f97cf0298f606aed4908ebb4198412a321280f2319160ef"
@ -13,8 +13,6 @@ class Wslay < Formula
sha256 "410634e15d5ce6f680ccd5d96b97fc2226aad9530aebe42690d3ceb4d7011e69" => :mavericks
end
option "without-docs", "Don't generate or install documentation"
head do
url "https://github.com/tatsuhiro-t/wslay.git"
@ -23,6 +21,8 @@ class Wslay < Formula
depends_on "libtool" => :build
end
option "without-docs", "Don't generate or install documentation"
depends_on "sphinx-doc" => :build if build.with? "docs"
depends_on "cunit" => :build
depends_on "pkg-config" => :build