homebrew-core/Formula/libuv.rb
Brett Koonce 8069546a11 libuv 0.9.8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-08 09:17:37 -08:00

20 lines
460 B
Ruby

require 'formula'
class Libuv < Formula
homepage 'https://github.com/joyent/libuv'
url 'https://github.com/joyent/libuv/archive/node-v0.9.8.zip'
sha1 'd3ace85028bf371d2301be9fe2c4a5c91bcaa6b2'
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