homebrew-core/Formula/libuv.rb
Clemens Gruber a7c6fa309e libuv 0.9.7
Closes Homebrew/homebrew#17226.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-21 06:12:07 -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.7.zip'
sha1 'aa3f1f06f648d0bb6893107ade6a79294a244b39'
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