homebrew-core/Formula/libuv.rb

22 lines
525 B
Ruby
Raw Normal View History

require 'formula'
2013-08-06 00:40:00 +00:00
# Note that x.even are stable releases, x.odd are devel releases
class Libuv < Formula
homepage 'https://github.com/joyent/libuv'
2013-08-06 00:40:00 +00:00
url 'https://github.com/joyent/libuv/archive/v0.10.13.tar.gz'
sha1 'f1bb5671ef6b45606d4cf17816f173dda3d47a92'
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