homebrew-core/Formula/libuv.rb
Max Riveiro ab4abe8f85 libuv 0.10.0
Closes Homebrew/homebrew#18408.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-11 11:23:53 -07:00

20 lines
464 B
Ruby

require 'formula'
class Libuv < Formula
homepage 'https://github.com/joyent/libuv'
url 'https://github.com/joyent/libuv/archive/node-v0.10.0.tar.gz'
sha1 '97784d360e471414b0b24013f8a48e67ef3bb0c3'
head 'https://github.com/joyent/libuv.git', :branch => 'master'
option :universal
def install
ENV.universal_binary if build.universal?
system 'make', 'libuv.dylib'
include.install Dir['include/*']
lib.install 'libuv.dylib'
end
end