parent
0fa7e12dd4
commit
df7cc15c03
1 changed files with 9 additions and 12 deletions
|
@ -1,8 +1,8 @@
|
|||
class Libuv < Formula
|
||||
desc "Multi-platform support library with a focus on asynchronous I/O"
|
||||
homepage "https://github.com/libuv/libuv"
|
||||
url "https://github.com/libuv/libuv/archive/v1.11.0.tar.gz"
|
||||
sha256 "6ec7eec6ecc24b1a8ffedebedb2fe9313fffb5410de89aaf784dd01080411c7a"
|
||||
url "https://github.com/libuv/libuv/archive/v1.12.0.tar.gz"
|
||||
sha256 "41ce914a88da21d3b07a76023beca57576ca5b376c6ac440c80bc581cbca1250"
|
||||
head "https://github.com/libuv/libuv.git", :branch => "v1.x"
|
||||
|
||||
bottle do
|
||||
|
@ -12,7 +12,6 @@ class Libuv < Formula
|
|||
sha256 "767141dbd4cdbbe390ec292f0119135af5c9c6b5dc4804544f9dc3b9c2f2c65a" => :yosemite
|
||||
end
|
||||
|
||||
option "without-docs", "Don't build and install documentation"
|
||||
option "with-test", "Execute compile time checks (Requires Internet connection)"
|
||||
|
||||
deprecated_option "with-check" => "with-test"
|
||||
|
@ -21,17 +20,15 @@ class Libuv < Formula
|
|||
depends_on "automake" => :build
|
||||
depends_on "autoconf" => :build
|
||||
depends_on "libtool" => :build
|
||||
depends_on "sphinx-doc" => :build if build.with? "docs"
|
||||
depends_on "sphinx-doc" => :build
|
||||
|
||||
def install
|
||||
if build.with? "docs"
|
||||
# This isn't yet handled by the make install process sadly.
|
||||
cd "docs" do
|
||||
system "make", "man"
|
||||
system "make", "singlehtml"
|
||||
man1.install "build/man/libuv.1"
|
||||
doc.install Dir["build/singlehtml/*"]
|
||||
end
|
||||
# This isn't yet handled by the make install process sadly.
|
||||
cd "docs" do
|
||||
system "make", "man"
|
||||
system "make", "singlehtml"
|
||||
man1.install "build/man/libuv.1"
|
||||
doc.install Dir["build/singlehtml/*"]
|
||||
end
|
||||
|
||||
system "./autogen.sh"
|
||||
|
|
Loading…
Reference in a new issue